summary refs log tree commit diff
path: root/Functions/VCS_Info/VCS_INFO_realpath
blob: ce4a69402fc4a546d38867604eea0b5de23fa977 (plain) (blame)
1
2
3
4
5
6
7
## vim:ft=zsh
## Written by Frank Terbeck <ft@bewatermyfriend.org>
## Distributed under the same BSD-ish license as zsh itself.

setopt localoptions NO_shwordsplit chaselinks
# -q to avoid chpwd() invocations
( builtin cd -q $1 2>/dev/null && pwd; )