mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
'.' no longer special, '..' only sometimes
This commit is contained in:
parent
3e6ee85a16
commit
fea3997153
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ else
|
|||
fi
|
||||
unset CASE_SENSITIVE HYPHEN_INSENSITIVE
|
||||
|
||||
# Complete . and .. special directories
|
||||
zstyle ':completion:*' special-dirs true
|
||||
# Only treat .. as a special directory when the prefix is empty, '.' or '../'
|
||||
zstyle -e ':completion:*' special-dirs '[[ $PREFIX = (../)#(|.|..) ]] && reply=(..)'
|
||||
|
||||
zstyle ':completion:*' list-colors ''
|
||||
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01'
|
||||
|
|
Loading…
Reference in a new issue