Explorar o código

Small updates

Simon Watson %!s(int64=3) %!d(string=hai) anos
pai
achega
788e5ce395
Modificáronse 1 ficheiros con 14 adicións e 6 borrados
  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