Prevent duplicate path entries
This commit is contained in:
parent
2b8bacb8da
commit
f949f3584c
1 changed files with 3 additions and 0 deletions
3
.zshrc
3
.zshrc
|
@ -17,6 +17,9 @@ if test -d /soft/linux/pkg/bin ; then
|
|||
export PATH=/soft/lus/linux/vim/7.4-$(uname -m)/bin:$PATH;
|
||||
fi
|
||||
|
||||
# clean up duplicate paths
|
||||
typeset -U PATH
|
||||
|
||||
# List directory when changing (github/r00k)
|
||||
chpwd() {
|
||||
ls -lvh --color=auto
|
||||
|
|
Loading…
Reference in a new issue