1
0
Fork 0
mirror of synced 2024-11-26 09:15:34 -05:00

[input] Fix parse error old zsh versions

Closes #61, closes #62.
This commit is contained in:
Laurentiu Nicola 2016-06-22 17:28:46 +03:00 committed by Matt Hamilton
parent 494e44375c
commit 8a4413f2ec

View file

@ -65,7 +65,7 @@ if [[ -n "${key_info[Insert]}" ]]; then
bindkey "${key_info[Insert]}" overwrite-mode bindkey "${key_info[Insert]}" overwrite-mode
fi fi
if [[ ${zdouble_dot_expand} ]]; then if [[ ${zdouble_dot_expand} == "true" ]]; then
double-dot-expand() { double-dot-expand() {
if [[ ${LBUFFER} == *.. ]]; then if [[ ${LBUFFER} == *.. ]]; then
LBUFFER+='/..' LBUFFER+='/..'
@ -86,7 +86,7 @@ bindkey "${key_info[Right]}" forward-char
# Expandpace. # Expandpace.
bindkey ' ' magic-space bindkey ' ' magic-space
# Clear # Clear
bindkey "${key_info[Control]}L" clear-screen bindkey "${key_info[Control]}L" clear-screen
# Bind Shift + Tab to go to the previous menu item. # Bind Shift + Tab to go to the previous menu item.