summary refs log tree commit diff
path: root/Functions/Zle/bash-down-case-word
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Zle/bash-down-case-word')
-rw-r--r--Functions/Zle/bash-down-case-word9
1 files changed, 9 insertions, 0 deletions
diff --git a/Functions/Zle/bash-down-case-word b/Functions/Zle/bash-down-case-word
new file mode 100644
index 000000000..f12fb7efc
--- /dev/null
+++ b/Functions/Zle/bash-down-case-word
@@ -0,0 +1,9 @@
+# This implements a bash-style down-case-word.
+# To use,
+#   zle -N bash-down-case-word
+#   bindkey '...' bash-down-case-word
+# or if you wish to replace existing down-case-word bindings,
+#   zle -N down-case-word bash-down-case-word
+
+local WORDCHARS=''
+zle .down-case-word