summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-12-19 16:52:38 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2015-12-19 16:52:38 -0800
commit597ffd85edd17c67813c9a4685fde93aaad0cdc6 (patch)
tree5f2d466ade0fc004e6950bf3926fcd37f00140f3 /Functions
parentc3ea3ffa730037714fd1bb23b6fc1174b379368f (diff)
downloadzsh-597ffd85edd17c67813c9a4685fde93aaad0cdc6.tar.gz
zsh-597ffd85edd17c67813c9a4685fde93aaad0cdc6.tar.xz
zsh-597ffd85edd17c67813c9a4685fde93aaad0cdc6.zip
users/21068: use emacs keymap in vared by default
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Newuser/zsh-newuser-install2
1 files changed, 1 insertions, 1 deletions
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)",