From 4711d6ba66c553312901b2199b9ca944c9273659 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Tue, 25 Sep 2012 17:31:46 -0400 Subject: [PATCH] Load external editor support after $key_info definition --- modules/editor/init.zsh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/modules/editor/init.zsh b/modules/editor/init.zsh index b36cfa2..870448e 100644 --- a/modules/editor/init.zsh +++ b/modules/editor/init.zsh @@ -53,10 +53,6 @@ fi # Beep on error in line editor. setopt BEEP -# Allow command line editing in an external editor. -autoload -Uz edit-command-line -zle -N edit-command-line - # # Variables # @@ -103,6 +99,14 @@ for key in "${(k)key_info[@]}"; do fi done +# +# External Editor +# + +# Allow command line editing in an external editor. +autoload -Uz edit-command-line +zle -N edit-command-line + # # Functions #