From 8fc4c4b3825e421373d836ef0841b3e7c15ebb9f Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 26 Nov 2013 23:38:53 +0100 Subject: Added removal of /usr/bin/X11 in /usr/local/sbin:/usr/local/bin:/home/dave/bin:/usr/bin:/opt/android-sdk/tools:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/dave/.rvm/bin:/home/dave/.yadr/bin:/home/dave/.yadr/bin/yadr when in unixpool --- .zsh.after/unixpool.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.zsh.after/unixpool.sh') diff --git a/.zsh.after/unixpool.sh b/.zsh.after/unixpool.sh index ca46eeb..9e735d8 100644 --- a/.zsh.after/unixpool.sh +++ b/.zsh.after/unixpool.sh @@ -1,16 +1,18 @@ # host based zshrc # unixpool +autoload -U regexp-replace + #HISTFILE=$HOME/.zhistory PATH=${PATH}:/net/local64/bin PATH=${PATH}:/net/adm/bin PATH=${PATH}:/net/adm/scripts PATH=${PATH}:/net/adm/xadm PATH=${PATH}:/homes/wheel/wheel/bin - #PATH=/store/s4/android/android-sdk-linux_86/tools:$PATH #PATH=/store/s4/android/android-sdk-linux_86/platform-tools:$PATH -#TODO: add pacman to apt-get conversion for all pacman aliases +#Remove /usr/bin/X11: if it shows up in $PATH +regexp-replace PATH '/usr/bin/X11:' '' # set pulseaudio server to s4 if [ -f "`which pax11publish`" ]; @@ -113,3 +115,5 @@ alias QWbig='xterm -geometry 84x41-0+0 -T '\''QWatch'\'' -e /homes/misc/lpviewer alias QWbighere='/homes/misc/lpviewer/lpdisp' alias QWdisplay="watch 'for n in {1..3}; do scli -c \"show printer display\" ps\$n-pool; done'" alias pyadm="/net/adm/pyadm-64ready/start.py" + +#TODO: add pacman to apt-get conversion for all pacman aliases -- cgit v1.2.3-54-g00ecf