Only source autojump.sh if it exists

This commit is contained in:
Austen Adler 2014-07-06 15:22:37 -04:00
parent cc443dcd78
commit 4dc1019fdd

3
bashrc
View File

@ -104,7 +104,8 @@ PATH=$PATH:~/tmp/ucpp/ucpp/
function tsh(){
ssh $* -t 'tux;exit'
}
. /usr/share/autojump/autojump.sh
[ -f /usr/share/autojump/autojump.sh ] && . /usr/share/autojump/autojump.sh
[[ -s /home/stonewareslord/.autojump/etc/profile.d/autojump.sh ]] && source /home/stonewareslord/.autojump/etc/profile.d/autojump.sh
export PATH=/home/stonewareslord/.autojump/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/stonewareslord/tmp/ucpp/ucpp/:/home/stonewareslord/tmp/ucpp/ucpp/:/home/stonewareslord/hitchhikers/bin/ucpp/ucpp:/home/stonewareslord/hitchhikers/bin/ucpp/ucpp
alias frcbot='python build'