Prevent duplicate path entries

This commit is contained in:
Andrew Tomaka 2014-09-05 00:23:33 -04:00
parent 2b8bacb8da
commit f949f3584c

3
.zshrc
View file

@ -17,6 +17,9 @@ if test -d /soft/linux/pkg/bin ; then
export PATH=/soft/lus/linux/vim/7.4-$(uname -m)/bin:$PATH; export PATH=/soft/lus/linux/vim/7.4-$(uname -m)/bin:$PATH;
fi fi
# clean up duplicate paths
typeset -U PATH
# List directory when changing (github/r00k) # List directory when changing (github/r00k)
chpwd() { chpwd() {
ls -lvh --color=auto ls -lvh --color=auto