Parcourir la source

Small updates

Simon Watson il y a 3 ans
Parent
commit
788e5ce395
1 fichiers modifiés avec 14 ajouts et 6 suppressions
  1. 14 6
      bashrc/bashrc-all

+ 14 - 6
bashrc/bashrc-all

@@ -29,6 +29,12 @@ alias tmuxq="echo $TMUX"
 
 alias httpserver="python -m SimpleHTTPServer"
 
+if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
+then
+    PATH="$HOME/.local/bin:$HOME/bin:$PATH"
+fi
+export PATH
+
 # Case defines platform specific configs
 # Platform agnostic configs above
 case $(hostname) in
@@ -51,12 +57,6 @@ case $(hostname) in
 
     watsonsi-fedora)
 
-	if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
-	then
-	    PATH="$HOME/.local/bin:$HOME/bin:$PATH"
-	fi
-	export PATH
-	
 	export PS1="[\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]]\$ "
 	alias start_od="rclone --vfs-cache-mode writes mount ipconedrive: /home/watonsi/OneDrive/"
 	alias tmuxn="systemd-run --scope --user tmux new -s $1"
@@ -73,6 +73,14 @@ case $(hostname) in
 	
 	echo "Loaded Work Fedora config"
 	;;
+
+    void)
+
+	export PS1="\[\033[36m\]\w\[\033[m\] λ " 
+	alias shorten-ps1="PS1='λ > '"
+
+	echo "Loaded Void config"
+	
 esac