diff options
author | Damian Perticone <mjolnirdam@gmail.com> | 2022-08-12 20:17:41 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-13 10:40:38 +0700 |
commit | 6371d22222dc2d76ad7f09fd220e8599cfdc5e18 (patch) | |
tree | 02b54f9e0aefdc54883b3447592a18d07d73b5db /system/zoxide/README | |
parent | 3382ff052bbd1378c2a60ac538abaacba1dce36c (diff) |
system/zoxide: Added (smarter cd command written in Rust)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/zoxide/README')
-rw-r--r-- | system/zoxide/README | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/system/zoxide/README b/system/zoxide/README new file mode 100644 index 0000000000000..1ea662e201cb7 --- /dev/null +++ b/system/zoxide/README @@ -0,0 +1,39 @@ +Zoxide is a smarter cd command, inspired by z and autojump. +It remembers which directories you use most frequently, so you can +"jump" to them in just a few keystrokes. +Zoxide works on all major shells. + +z foo # cd into highest ranked directory matching foo +z foo bar # cd into highest ranked directory matching + foo and bar +z foo / # cd into a subdirectory starting with foo + +z ~/foo # z also works like a regular cd command +z foo/ # cd into relative path +z .. # cd one level up +z - # cd into previous directory + +zi foo # cd with interactive selection (using fzf) + +z foo<SPACE><TAB> # show interactive completions + (zoxide v0.8.0+, bash 4.4+/fish/zsh only) + +Add zoxide to your shell: + +Bash: +Add this to your configuration (usually ~/.bashrc): +eval "$(zoxide init bash)" + +Fish: +Add this to your configuration (usually ~/.config/fish/config.fish): +zoxide init fish | source + +Zsh: +Add this to your configuration (usually ~/.zshrc): +eval "$(zoxide init zsh)" + +For completions to work, the above line must be added after compinit is +called. You may have to rebuild your cache by running +rm ~/.zcompdump*; compinit. + +more data in the github page. |