zsh: ctrl-x edits command line
This commit is contained in:
@@ -79,6 +79,11 @@ if [ -e /usr/bin/keychain ]; then
|
|||||||
eval $(/usr/bin/keychain --eval -Q --quiet id_ed25519)
|
eval $(/usr/bin/keychain --eval -Q --quiet id_ed25519)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# ctrl-x opens up the command line in $EDITOR
|
||||||
|
autoload -U edit-command-line
|
||||||
|
zle -N edit-command-line
|
||||||
|
bindkey "^X" edit-command-line
|
||||||
|
|
||||||
# direnv setup
|
# direnv setup
|
||||||
whence -p direnv &>/dev/null && eval "$(direnv hook zsh)"
|
whence -p direnv &>/dev/null && eval "$(direnv hook zsh)"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user