about summary refs log tree commit diff
path: root/Functions/VCS_Info
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/VCS_Info')
-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
 )