parent
95f7206a93
commit
53083da821
@ -582,6 +582,7 @@ _zsh_highlight_main_highlighter_check_path()
|
||||
REPLY=path
|
||||
|
||||
[[ -z $expanded_path ]] && return 1
|
||||
[[ -L $expanded_path ]] && return 0
|
||||
[[ -e $expanded_path ]] && return 0
|
||||
|
||||
# Search the path in CDPATH
|
||||
|
@ -32,5 +32,5 @@ BUFFER=': broken-symlink'
|
||||
CURSOR=5 # to make path_prefix ineligible
|
||||
|
||||
expected_region_highlight=(
|
||||
"3 16 path 'issue #342'" # broken-symlink
|
||||
"3 16 path" # broken-symlink
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user