aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-11 21:36:10 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-08-11 21:36:10 +0200
commita3a40989a37c22e2e9b4e16da2067904dcac250b (patch)
treed99fb42737c6cabb54a099592367448b0852e69d
parent65ceb15ffd79cd32946d57ed86b7d6406d985673 (diff)
downloaddotfiles-a3a40989a37c22e2e9b4e16da2067904dcac250b.tar.xz
zsh: move edit-command-line to keybindings.zsh
-rw-r--r--zsh/.zshrc2
-rw-r--r--zsh/keybindings.zsh1
2 files changed, 1 insertions, 2 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 1f1c62e..053ad97 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -80,8 +80,6 @@ function preexec {
source "$ZDOTDIR"/aliases.zsh
source "$ZDOTDIR"/keybindings.zsh
-zle -N edit-command-line
-
[[ -f "$ZDOTDIR"/environ-"$(hostname -s)" ]] && \
source "$ZDOTDIR"/environ-"$(hostname -s)"
diff --git a/zsh/keybindings.zsh b/zsh/keybindings.zsh
index 0c36b46..8638589 100644
--- a/zsh/keybindings.zsh
+++ b/zsh/keybindings.zsh
@@ -13,6 +13,7 @@ function zle-line-finish () {
}
zle -N zle-line-init
zle -N zle-line-finish
+zle -N edit-command-line
bindkey -v