about summary refs log tree commit diff
path: root/Functions/VCS_Info/VCS_INFO_adjust
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/VCS_Info/VCS_INFO_adjust')
-rw-r--r--Functions/VCS_Info/VCS_INFO_adjust8
1 files changed, 8 insertions, 0 deletions
diff --git a/Functions/VCS_Info/VCS_INFO_adjust b/Functions/VCS_Info/VCS_INFO_adjust
new file mode 100644
index 000000000..5ee2a4940
--- /dev/null
+++ b/Functions/VCS_Info/VCS_INFO_adjust
@@ -0,0 +1,8 @@
+## vim:ft=zsh
+## Written by Frank Terbeck <ft@bewatermyfriend.org>
+## Distributed under the same BSD-ish license as zsh itself.
+
+setopt localoptions NO_shwordsplit
+
+[[ -n ${vcs_comm[overwrite_name]} ]] && vcs=${vcs_comm[overwrite_name]}
+return 0