mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 16:40:24 +02:00
15585: bash-style up- and down-case words
This commit is contained in:
parent
34def9b74d
commit
5dd1ba01ea
4 changed files with 29 additions and 2 deletions
9
Functions/Zle/bash-down-case-word
Normal file
9
Functions/Zle/bash-down-case-word
Normal file
|
@ -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
|
9
Functions/Zle/bash-up-case-word
Normal file
9
Functions/Zle/bash-up-case-word
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue