]> git.rmz.io Git - dotfiles.git/commitdiff
add /extra to path
authorSamir Benmendil <samir.benmendil@gmail.com>
Sat, 8 Jun 2013 22:06:08 +0000 (00:06 +0200)
committerSamir Benmendil <samir.benmendil@gmail.com>
Sat, 8 Jun 2013 22:06:08 +0000 (00:06 +0200)
zshrc

diff --git a/zshrc b/zshrc
index 4b3a8eb5c39a1e51b15d7302b00b8c6af5aef977..b5c6b18809e648f4e0808d99feec68a2464ff068 100644 (file)
--- a/zshrc
+++ b/zshrc
@@ -30,6 +30,7 @@ setopt dvorak       # correct_all uses dvorak
 # populate path
 typeset -U path     # make path a unique array
 [[ -d ~/bin ]] && path=(~/bin $path)
+[[ -d /extra ]] && path=($path /extra/bin /extra/usr/bin /extra/sbin /extra/usr/sbin)
 [[ -d /opt/android-sdk ]] && path=($path /opt/android-sdk/platform-tools)
 
 # source aliases