From b4a2d51e57b1f50db4b9e489652daf35f1e583d0 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 11 Dec 2008 09:53:12 +0000 Subject: Frank Terbeck: 26125: add "command" style to VCS_INFO --- Functions/VCS_Info/VCS_INFO_get_cmd | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Functions/VCS_Info/VCS_INFO_get_cmd (limited to 'Functions/VCS_Info/VCS_INFO_get_cmd') diff --git a/Functions/VCS_Info/VCS_INFO_get_cmd b/Functions/VCS_Info/VCS_INFO_get_cmd new file mode 100644 index 000000000..26046f1c5 --- /dev/null +++ b/Functions/VCS_Info/VCS_INFO_get_cmd @@ -0,0 +1,6 @@ +## vim:ft=zsh +# find out if the user wants us to use a special binary. +# the default command name is the same as the backend name. +local cmd +zstyle -s ":vcs_info:${vcs}:${usercontext}:${rrn}" "command" cmd +vcs_comm[cmd]=${cmd:-$vcs} -- cgit v1.2.3