summaryrefslogtreecommitdiff
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
parent7e9f42526d56b88eb132658ec8b7bb468a197700 (diff)
downloadzsh-06cf28875e9046de8caf396cf5aa98f7473ef393.tar.gz
zsh-06cf28875e9046de8caf396cf5aa98f7473ef393.zip
25778: Frank Terbeck: use builtin cd
-rw-r--r--ChangeLog3
-rw-r--r--Functions/VCS_Info/VCS_INFO_realpath2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bfb0ff986..fbec84dbb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2008-09-30 Peter Stephenson <pws@csr.com>
+ * Frank Terbeck: 25778: Functions/VCS_Info/VCS_INFO_realpath: use
+ builtin cd.
+
* unposted: Completion/Zsh/Context/_subscript: recognise ~[...]
after = and :, too.
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
)