From 597ffd85edd17c67813c9a4685fde93aaad0cdc6 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sat, 19 Dec 2015 16:52:38 -0800 Subject: users/21068: use emacs keymap in vared by default --- Functions/Newuser/zsh-newuser-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/Newuser') diff --git a/Functions/Newuser/zsh-newuser-install b/Functions/Newuser/zsh-newuser-install index 37c60293a..e4028fd50 100644 --- a/Functions/Newuser/zsh-newuser-install +++ b/Functions/Newuser/zsh-newuser-install @@ -512,7 +512,7 @@ $default_options[$match[2]]) fi print -r "Edit a value. If it is left blank, nothing will be saved:" edval=$match[2] - if vared -p "$match[1]> " -h edval; then + if vared -M emacs -p "$match[1]> " -h edval; then # check this assignment doesn't produce multiple words # e.g. "HISTFILE=never rm -f ~" does produce multiple words... # this isn't perfect, e.g. "(this would get split on assignment)", -- cgit 1.4.1