[zsh] Move func/ directory to zsh/functions
This commit is contained in:
parent
91da2fc583
commit
7c08c5131f
53 changed files with 1 additions and 1 deletions
17
zsh/functions/init-rc-zle
Normal file
17
zsh/functions/init-rc-zle
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env zsh
|
||||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
function init-rc-zle
|
||||
{
|
||||
case "${ERYN_ZLE_MODE:-emacs}" in
|
||||
vim)
|
||||
bindkey -v
|
||||
zle -A .backward-delete-char vi-backward-delete-char
|
||||
;;
|
||||
emacs)
|
||||
bindkey -e
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
init-rc-zle "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue