From 8367cbac3cc32cd0b46bcb71e11f5486ad1d5efb Mon Sep 17 00:00:00 2001 From: Rob Cowie Date: Tue, 24 Mar 2020 01:32:23 +0000 Subject: [PATCH] zoxide: add page (#3925) --- pages/common/zoxide.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pages/common/zoxide.md diff --git a/pages/common/zoxide.md b/pages/common/zoxide.md new file mode 100644 index 000000000..b53c54756 --- /dev/null +++ b/pages/common/zoxide.md @@ -0,0 +1,29 @@ +# zoxide + +> Keep track of the most frequently used directories. +> Uses a ranking algorithm to navigate to the best match. +> More information: . + +- Go to the highest-ranked directory that contains "foo" in the name: + +`zoxide query {{foo}}` + +- Go to the highest-ranked directory that contains "foo" and then "bar": + +`zoxide query {{foo}} {{bar}}` + +- Start an interactive directory search (requires `fzf`): + +`zoxide query --interactive` + +- Add a directory or increment its rank: + +`zoxide add {{path/to/dir}}` + +- Remove a directory from `zoxide`'s database: + +`zoxide remove {{path/to/dir}}` + +- Generate shell configuration for command aliases (`z`, `za`, `zi`, `zq`, `zr`): + +`zoxide init {{bash|fish|zsh}}`