mirror of
https://github.com/zsh-users/zsh
synced 2024-09-30 05:06:09 +00:00
50569: missed file from commit f36fccbb
This commit is contained in:
parent
364ecf7099
commit
03f52f1da6
18
README
18
README
|
@ -34,6 +34,24 @@ details, see the documentation.
|
||||||
Incompatibilities since 5.9
|
Incompatibilities since 5.9
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
|
The line editor's default keymap is now the "emacs" keymap regardless of the
|
||||||
|
value of the environment variables $VISUAL and $EDITOR. This only affects you
|
||||||
|
if your $VISUAL or $EDITOR environment variable is set to a value that
|
||||||
|
contains the string "vi". To get the previous behaviour, add
|
||||||
|
|
||||||
|
bindkey -v
|
||||||
|
|
||||||
|
or, if your $VISUAL and $EDITOR environment variables vary,
|
||||||
|
|
||||||
|
if [[ ${VISUAL} == *vi* || ${EDITOR} == *vi* ]]; then
|
||||||
|
bindkey -v
|
||||||
|
else
|
||||||
|
bindkey -e
|
||||||
|
fi
|
||||||
|
|
||||||
|
to your .zshrc file. These snippets are compatible with previous
|
||||||
|
versions of the shell.
|
||||||
|
|
||||||
The ERR_EXIT and ERR_RETURN options were refined to be more self-
|
The ERR_EXIT and ERR_RETURN options were refined to be more self-
|
||||||
consistent and better aligned with the POSIX-2017 specification of
|
consistent and better aligned with the POSIX-2017 specification of
|
||||||
`set -e`:
|
`set -e`:
|
||||||
|
|
Loading…
Reference in a new issue