From 1fee620e6235d3d1789dd3b62e65f5618464dbea Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Fri, 12 Jan 2018 13:02:39 +0000 Subject: [PATCH] 'main': Remove superfluous variable. No functional change. --- highlighters/main/main-highlighter.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/highlighters/main/main-highlighter.zsh b/highlighters/main/main-highlighter.zsh index 5016f38..6298fd5 100644 --- a/highlighters/main/main-highlighter.zsh +++ b/highlighters/main/main-highlighter.zsh @@ -456,8 +456,7 @@ _zsh_highlight_highlighter_main_paint() () { # TODO: path expansion should happen _after_ alias expansion _zsh_highlight_main_highlighter_expand_path $arg - local expanded_arg="$REPLY" - _zsh_highlight_main__type ${expanded_arg} + _zsh_highlight_main__type "$REPLY" } local res="$REPLY" if [[ $res == "alias" ]]; then