mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
'main': Add a comment.
This commit is contained in:
parent
08edf8db7f
commit
b1f36d9c5f
1 changed files with 1 additions and 0 deletions
|
|
@ -988,6 +988,7 @@ _zsh_highlight_main_highlighter_check_path()
|
|||
# Search the path in CDPATH
|
||||
if [[ $expanded_path != /* ]]; then
|
||||
local cdpath_dir
|
||||
# TODO: When we've dropped support for pre-5.0.6 zsh, use the *(Y1) glob qualifier here.
|
||||
for cdpath_dir in $cdpath ; do
|
||||
[[ -e "$cdpath_dir/$expanded_path" ]] && return 0
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue