summaryrefslogtreecommitdiffstats
path: root/Functions
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-09-30 16:55:00 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-09-30 16:55:00 +0000
commit06cf28875e9046de8caf396cf5aa98f7473ef393 (patch)
tree66dc91c5b170c4df0baf67504c6e2b7648a45e8f /Functions
parent25777: argument to gdbmsetfn() (diff)
downloadzsh-06cf28875e9046de8caf396cf5aa98f7473ef393.tar
zsh-06cf28875e9046de8caf396cf5aa98f7473ef393.tar.gz
zsh-06cf28875e9046de8caf396cf5aa98f7473ef393.tar.bz2
zsh-06cf28875e9046de8caf396cf5aa98f7473ef393.tar.lz
zsh-06cf28875e9046de8caf396cf5aa98f7473ef393.tar.xz
zsh-06cf28875e9046de8caf396cf5aa98f7473ef393.tar.zst
zsh-06cf28875e9046de8caf396cf5aa98f7473ef393.zip
25778: Frank Terbeck: use builtin cd
Diffstat (limited to 'Functions')
-rw-r--r--Functions/VCS_Info/VCS_INFO_realpath2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/VCS_Info/VCS_INFO_realpath b/Functions/VCS_Info/VCS_INFO_realpath
index 481d5e98f..c0f48a4ef 100644
--- a/Functions/VCS_Info/VCS_INFO_realpath
+++ b/Functions/VCS_Info/VCS_INFO_realpath
@@ -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
)