We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a82aab commit 6d9a340Copy full SHA for 6d9a340
highlighters/main/main-highlighter.zsh
@@ -209,7 +209,7 @@ _zsh_highlight_main_highlighter_check_path()
209
(( $#tmp > 0 )) && style_override=path_prefix && return 0
210
# or maybe an approximate path?
211
tmp=( (#a1)${expanded_path}*(N) )
212
- (( $#tmp > 0 )) && style_override=path_approx && return 0
+ (( $#arg > 3 && $#tmp > 0 )) && style_override=path_approx && return 0
213
fi
214
return 1
215
}
0 commit comments