1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-28 05:00:59 +01:00

25778: Frank Terbeck: use builtin cd

This commit is contained in:
Peter Stephenson 2008-09-30 16:55:00 +00:00
parent 7e9f42526d
commit 06cf28875e
2 changed files with 4 additions and 1 deletions

View file

@ -12,5 +12,5 @@ setopt localoptions NO_shwordsplit
(
(( ${+functions[chpwd]} )) && unfunction chpwd
setopt chaselinks
cd $1 2>/dev/null && pwd
builtin cd $1 2>/dev/null && pwd
)