diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-12-11 09:53:12 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-12-11 09:53:12 +0000 |
commit | b4a2d51e57b1f50db4b9e489652daf35f1e583d0 (patch) | |
tree | ec0ce579ca82b5498ee579f415cc81d838702dd2 /Functions/VCS_Info/vcs_info | |
parent | 37a4dce4bc5b38a686516e22d0dc81a90b757d91 (diff) | |
download | zsh-b4a2d51e57b1f50db4b9e489652daf35f1e583d0.tar.gz zsh-b4a2d51e57b1f50db4b9e489652daf35f1e583d0.tar.xz zsh-b4a2d51e57b1f50db4b9e489652daf35f1e583d0.zip |
Frank Terbeck: 26125: add "command" style to VCS_INFO
Diffstat (limited to 'Functions/VCS_Info/vcs_info')
-rw-r--r-- | Functions/VCS_Info/vcs_info | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Functions/VCS_Info/vcs_info b/Functions/VCS_Info/vcs_info index fb87e6a54..7ecd1224a 100644 --- a/Functions/VCS_Info/vcs_info +++ b/Functions/VCS_Info/vcs_info @@ -17,6 +17,7 @@ static_functions=( VCS_INFO_bydir_detect VCS_INFO_check_com VCS_INFO_formats + VCS_INFO_get_cmd VCS_INFO_maxexports VCS_INFO_nvcsformats VCS_INFO_realpath @@ -74,6 +75,7 @@ vcs_info () { continue fi vcs_comm=() + VCS_INFO_get_cmd VCS_INFO_detect_${vcs} && (( found = 1 )) && break done |