We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08edf8d commit b1f36d9Copy full SHA for b1f36d9
highlighters/main/main-highlighter.zsh
@@ -988,6 +988,7 @@ _zsh_highlight_main_highlighter_check_path()
988
# Search the path in CDPATH
989
if [[ $expanded_path != /* ]]; then
990
local cdpath_dir
991
+ # TODO: When we've dropped support for pre-5.0.6 zsh, use the *(Y1) glob qualifier here.
992
for cdpath_dir in $cdpath ; do
993
[[ -e "$cdpath_dir/$expanded_path" ]] && return 0
994
done
0 commit comments