about summary refs log tree commit diff
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
parent7e9f42526d56b88eb132658ec8b7bb468a197700 (diff)
downloadzsh-06cf28875e9046de8caf396cf5aa98f7473ef393.tar.gz
zsh-06cf28875e9046de8caf396cf5aa98f7473ef393.tar.xz
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
 )