From 7f5e11e38b0b020b756fe4e14ae82c53462eee2b 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 2661e8d..7479e48 100644 --- a/highlighters/main/main-highlighter.zsh +++ b/highlighters/main/main-highlighter.zsh @@ -496,8 +496,7 @@ _zsh_highlight_main_highlighter_highlight_list() () { # 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