]> git.alrj.org Git - zsh.d.git/blob - S21_path
Unbreak completion on wrapped commands.
[zsh.d.git] / S21_path
1
2 # Just make sure there are no duplicate in the PATH
3
4 MY_PATH=(${(s.:.)PATH})
5 typeset -U MY_PATH
6 MY_PATH=( 
7         $HOME/bin 
8         $MY_PATH
9         /{usr/,}sbin 
10         )
11
12 export PATH=${(j.:.)MY_PATH}
13
14
15 fpath=(~/.zsh/functions $fpath)
16 export fpath