'main': Let AUTO_CD directories be highlighted with their own style.
This commit is contained in:
committed by
Daniel Shahaf
parent
3f930fb0c1
commit
83ac855ceb
@@ -32,5 +32,5 @@ setopt autocd
|
||||
BUFFER=$'/'
|
||||
|
||||
expected_region_highlight=(
|
||||
'1 1 arg0' # /
|
||||
'1 1 autodirectory' # /
|
||||
)
|
||||
|
||||
@@ -32,7 +32,7 @@ setopt autocd
|
||||
BUFFER=$'/bin; /bin'
|
||||
|
||||
expected_region_highlight=(
|
||||
'1 4 arg0' # /bin (in middle)
|
||||
'1 4 autodirectory' # /bin (in middle)
|
||||
'5 5 commandseparator' # ;
|
||||
'7 10 arg0' # /bin (at end)
|
||||
'7 10 autodirectory' # /bin (at end)
|
||||
)
|
||||
|
||||
@@ -29,11 +29,10 @@
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
setopt autocd
|
||||
|
||||
BUFFER=$'$PWD; ${PWD}'
|
||||
|
||||
expected_region_highlight=(
|
||||
'1 4 arg0' # $PWD
|
||||
'1 4 autodirectory' # $PWD
|
||||
'5 5 commandseparator' # ;
|
||||
'7 12 arg0' # ${PWD}
|
||||
'7 12 autodirectory' # ${PWD}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user