From c55b4e78ff712f71f4036953bfa1effb0dcf151d Mon Sep 17 00:00:00 2001 From: Laurentiu Nicola Date: Wed, 22 Jun 2016 17:28:46 +0300 Subject: [PATCH] [input] Fix parse error old zsh versions Closes #61, closes #62. --- modules/input/init.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/input/init.zsh b/modules/input/init.zsh index 198ce50..b0c4300 100644 --- a/modules/input/init.zsh +++ b/modules/input/init.zsh @@ -65,7 +65,7 @@ if [[ -n "${key_info[Insert]}" ]]; then bindkey "${key_info[Insert]}" overwrite-mode fi -if [[ ${zdouble_dot_expand} ]]; then +if [[ ${zdouble_dot_expand} == "true" ]]; then double-dot-expand() { if [[ ${LBUFFER} == *.. ]]; then LBUFFER+='/..' @@ -86,7 +86,7 @@ bindkey "${key_info[Right]}" forward-char # Expandpace. bindkey ' ' magic-space -# Clear +# Clear bindkey "${key_info[Control]}L" clear-screen # Bind Shift + Tab to go to the previous menu item.