zsh: Enable auto input of cd before directories
Enabled zsh option to automatically prepend directories with `cd` if they are the only command on the line, essentially enabling you to just write `/var/lib/docker` to go to the respective directory.
This commit is contained in:
parent
3ee9c95374
commit
42907f3733
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ setopt correct
|
|||
unsetopt correctall
|
||||
# Enable command auto-correction.
|
||||
ENABLE_CORRECTION="true"
|
||||
# allow moving through directories without prepending cd
|
||||
setopt autocd
|
||||
|
||||
# Speed up autocomplete, force prefix mapping
|
||||
zstyle ':completion:*' accept-exact '*(N)'
|
||||
|
|
Loading…
Reference in a new issue