mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 18:39:26 +00:00
Avoid unsetting nonexistent variables (#1075)
This commit is contained in:
committed by
Kaleb Elwert
parent
4e35f701ca
commit
2c1ad5bed1
@ -54,4 +54,6 @@ if [[ -n "$key_info" ]]; then
|
||||
bindkey -M "$keymap" "$key_info[Up]" history-substring-search-up
|
||||
bindkey -M "$keymap" "$key_info[Down]" history-substring-search-down
|
||||
done
|
||||
|
||||
unset keymap
|
||||
fi
|
||||
|
Reference in New Issue
Block a user