aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to '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