We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe0a314 commit 41974a3Copy full SHA for 41974a3
highlighters/main/main-highlighter.zsh
@@ -1182,6 +1182,7 @@ _zsh_highlight_main_highlighter_check_path()
1182
1183
# If this word ends the buffer, check if it's the prefix of a valid path.
1184
if (( has_end && (len == end_pos) )) &&
1185
+ (( ! in_alias )) &&
1186
[[ $WIDGET != zle-line-finish ]]; then
1187
# TODO: When we've dropped support for pre-5.0.6 zsh, use the *(Y1) glob qualifier here.
1188
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