Quickly go back to the specific parent directory instead of typing cd ../../..
.
zbd vs. Tarrasch/zsh-bd
Current working directory is not included in the parent directory list.
For example, when you are in ~/aaa/bbb/aaa
, command zbd aaa
means cd ~/aaa
not cd ~/aaa/bbb/aaa
.
Command zbd
without argument corresponds zbd 1
and cd ../
.
You can change TAB completion performance using zstyle
command.
For example, when you want to ignore case, add the following lines in your .zshrc
.
autoload -Uz compinit
compinit
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
zbd [directory name | number]
-h -- print help
Put zbd
and _zbd
files somewhere you want to install, and add the following lines in your .zshrc
.
export fpath=( <INSTALL_DIR> $fpath )
autoload -Uz zbd
If you use zplug, add the following line to your .zshrc
.
zplug 'ryutok/zbd'