about summary refs log tree commit diff
diff options
context:
space:
mode:
-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
 )