Skip to content

Commit b1f36d9

Browse files
committed
'main': Add a comment.
1 parent 08edf8d commit b1f36d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

highlighters/main/main-highlighter.zsh

+1
Original file line numberDiff line numberDiff line change
@@ -988,6 +988,7 @@ _zsh_highlight_main_highlighter_check_path()
988988
# Search the path in CDPATH
989989
if [[ $expanded_path != /* ]]; then
990990
local cdpath_dir
991+
# TODO: When we've dropped support for pre-5.0.6 zsh, use the *(Y1) glob qualifier here.
991992
for cdpath_dir in $cdpath ; do
992993
[[ -e "$cdpath_dir/$expanded_path" ]] && return 0
993994
done

0 commit comments

Comments
 (0)