diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-12-19 16:52:38 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-12-19 16:52:38 -0800 |
commit | 597ffd85edd17c67813c9a4685fde93aaad0cdc6 (patch) | |
tree | 5f2d466ade0fc004e6950bf3926fcd37f00140f3 /Functions | |
parent | c3ea3ffa730037714fd1bb23b6fc1174b379368f (diff) | |
download | zsh-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-install | 2 |
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)", |