We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59aea75 commit 6323686Copy full SHA for 6323686
highlighters/main/main-highlighter.zsh
@@ -1153,6 +1153,7 @@ _zsh_highlight_main_highlighter_check_path()
1153
1154
# If this word ends the buffer, check if it's the prefix of a valid path.
1155
if (( has_end && (len == end_pos) )) &&
1156
+ (( ! in_alias )) &&
1157
[[ $WIDGET != zle-line-finish ]]; then
1158
# TODO: When we've dropped support for pre-5.0.6 zsh, use the *(Y1) glob qualifier here.
1159
local -a tmp
highlighters/main/test-data/alias-to-dir.zsh
@@ -32,5 +32,5 @@ alias x=/
32
BUFFER=$'x'
33
34
expected_region_highlight=(
35
- '1 1 unknown-token "issue #668"' # x (/)
+ '1 1 unknown-token' # x (/)
36
)
0 commit comments