about summary refs log tree commit diff
path: root/Doc/Zsh/contrib.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-08-07 10:04:10 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-08-07 10:04:10 +0000
commit5dd1ba01ea1b4251fa8b05f4acbd1fe9750176aa (patch)
treef58e64178c479afa2d605a65921a343d25bc3949 /Doc/Zsh/contrib.yo
parent34def9b74d64af50f469e74d0fafbefd37844e17 (diff)
downloadzsh-5dd1ba01ea1b4251fa8b05f4acbd1fe9750176aa.tar.gz
zsh-5dd1ba01ea1b4251fa8b05f4acbd1fe9750176aa.tar.xz
zsh-5dd1ba01ea1b4251fa8b05f4acbd1fe9750176aa.zip
15585: bash-style up- and down-case words
Diffstat (limited to 'Doc/Zsh/contrib.yo')
-rw-r--r--Doc/Zsh/contrib.yo9
1 files changed, 7 insertions, 2 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index d168dc9d3..4f91c7680 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -366,9 +366,12 @@ tindex(bash-forward-word)
 tindex(bash-backward-word)
 tindex(bash-kill-word)
 tindex(bash-backward-kill-word)
-tindex(bash-transpowse-words)
+tindex(bash-transpose-words)
+tindex(bash-up-case-word)
+tindex(bash-down-case-word)
 xitem(tt(bash-forward-word), tt(bash-backward-word))
 xitem(tt(bash-kill-word), tt(bash-backward-kill-word))
+xitem(tt(bash-up-case-word), tt(bash-down-case-word))
 item(tt(bash-transpose-words))(
 These work similarly to the corresponding builtin zle functions without the
 `tt(bash-)' prefix, but a word is considered to consist of alphanumeric
@@ -376,7 +379,9 @@ characters only.  If you wish to replace your existing bindings with these
 four widgets, the following is sufficient:
 
 example(for widget in kill-word backward-kill-word \ 
-forward-word backward-word transpose-words; do 
+forward-word backward-word \ 
+up-case-word down-case-word \ 
+transpose-words; do 
   autoload bash-$widget 
   zle -N $widget bash-$widget
 done)