'main': Let AUTO_CD directories be highlighted with their own style.

This commit is contained in:
Daniel Shahaf
2020-01-12 20:17:59 +00:00
committed by Daniel Shahaf
parent 3f930fb0c1
commit 83ac855ceb
5 changed files with 26 additions and 9 deletions

View File

@@ -32,5 +32,5 @@ setopt autocd
BUFFER=$'/'
expected_region_highlight=(
'1 1 arg0' # /
'1 1 autodirectory' # /
)

View File

@@ -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)
)

View File

@@ -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}
)