X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=zsh%2Fzshrc;h=994bd71732e38626f4b0543aab95b8091b36cca6;hb=85cef43f457f743edbf30fa50a877a1a9e697eed;hp=71f19549110694c87778110307bc9d0375fe7260;hpb=f0b093b74f4cc6e028bbfcade027a6b56814c44c;p=dotfiles.git diff --git a/zsh/zshrc b/zsh/zshrc index 71f1954..994bd71 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -112,7 +112,10 @@ alias cp='cp -i' alias ln='ln -i' #alias svn='colorsvn' -alias sed='/usr/local/bin/gsed' +if [[ $OSNAME == 'Darwin' ]]; then + [[ -f '/usr/local/bin/gsed' ]] || echo "zshrc warning: no gsed" +fi +[[ -f '/usr/local/bin/gsed' ]] && alias sed='/usr/local/bin/gsed' ##### Git alias 'gs'='git status' @@ -292,6 +295,7 @@ export MANPATH=$MANPATH:/usr/local/man export MANPATH=$MANPATH:${HOME}/perl5/man export PATH=$PATH:"${HOME}/scripts" +export PATH=$PATH:"/sbin:/usr/sbin" ## hunspell path export DICPATH="/usr/local/share/hunspell/"