about summary refs log tree commit diff
path: root/Functions/Zle/bash-up-case-word
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-11-15 15:54:09 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-11-15 15:54:09 +0000
commita642cc3274548b1f918555bb9ac776bc01c0f556 (patch)
treea2305a4cdf985e9772fc88edc70344d917f99f93 /Functions/Zle/bash-up-case-word
parent18dea73f95d897bddc05942aa1544a7a21adb717 (diff)
downloadzsh-a642cc3274548b1f918555bb9ac776bc01c0f556.tar.gz
zsh-a642cc3274548b1f918555bb9ac776bc01c0f556.tar.xz
zsh-a642cc3274548b1f918555bb9ac776bc01c0f556.zip
15288, 15432, 15585: Zle widgets with bash-style word delimiting
Diffstat (limited to 'Functions/Zle/bash-up-case-word')
-rw-r--r--Functions/Zle/bash-up-case-word9
1 files changed, 9 insertions, 0 deletions
diff --git a/Functions/Zle/bash-up-case-word b/Functions/Zle/bash-up-case-word
new file mode 100644
index 000000000..1a61db64c
--- /dev/null
+++ b/Functions/Zle/bash-up-case-word
@@ -0,0 +1,9 @@
+# This implements a bash-style up-case-word.
+# To use,
+#   zle -N bash-up-case-word
+#   bindkey '...' bash-up-case-word
+# or if you wish to replace existing up-case-word bindings,
+#   zle -N up-case-word bash-up-case-word
+
+local WORDCHARS=''
+zle .up-case-word