From 47933687925d7138d57fb50ab51db64cb4d3ddd5 Mon Sep 17 00:00:00 2001 From: Nicolas Chambrier Date: Mon, 15 Jun 2015 10:14:17 +0200 Subject: [PATCH] FIX a parse error with zsh 5.0.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The error: ``…/.oh-my-zsh/lib/misc.zsh:3: parse error near `then'`` ``` $ zsh --version zsh 5.0.2 (x86_64-pc-linux-gnu) ``` The added space fixes the parse error. --- lib/misc.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/misc.zsh b/lib/misc.zsh index e90836475..6d1a64e8d 100644 --- a/lib/misc.zsh +++ b/lib/misc.zsh @@ -1,6 +1,6 @@ ## Load smart urls if available for d in $fpath; do - if [[ -e "$d/url-quote-magic"]]; then + if [[ -e "$d/url-quote-magic" ]]; then autoload -U url-quote-magic zle -N self-insert url-quote-magic fi