'main': Don't dequote the word in command position before analyzing it.
Fixes #656.
Fixes #660.
Regression from commit e1ecf950e2,
"main: Do path expanstion after alias expansion" (sic).
This commit is contained in:
committed by
Daniel Shahaf
parent
27fa4a6546
commit
2d0dddf58b
@@ -580,8 +580,7 @@ _zsh_highlight_main_highlighter_highlight_list()
|
||||
continue
|
||||
else
|
||||
_zsh_highlight_main_highlighter_expand_path $arg
|
||||
arg=$REPLY
|
||||
_zsh_highlight_main__type "$arg" 0
|
||||
_zsh_highlight_main__type "$REPLY" 0
|
||||
res="$REPLY"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user