From 703e4a52140507db9d16c0f6291a7ad21c78167b Mon Sep 17 00:00:00 2001
From: trinib
Date: Sat, 19 Nov 2022 11:07:01 -0400
Subject: [PATCH] Update alternatives for history|find|cd.md
---
alternatives for history|find|cd.md | 45 ++++++++++++++++++++++++++++-
1 file changed, 44 insertions(+), 1 deletion(-)
diff --git a/alternatives for history|find|cd.md b/alternatives for history|find|cd.md
index c547bab..a0e9158 100644
--- a/alternatives for history|find|cd.md
+++ b/alternatives for history|find|cd.md
@@ -115,9 +115,11 @@ fzf interactive searching🔎 :
-
A faster way to move around directories
+
Smarter directory navigating
[commacd](https://github.com/shyiko/commacd)
+
+A faster way to move around
_**Install**_ :
```bash
@@ -160,7 +162,48 @@ Tab = Autocomplete
>**Note** - More info on usage :
> [shyiko.com/commacd](https://shyiko.com/2014/10/10/commacd/)
+
+#
+
+[zoxide](https://github.com/ajeetdsouza/zoxide)
+
+It remembers which directories you use most frequently, so you can "jump" to them in just a few keystrokes.
+
+
+
+
+_**Install**_ :
+```bash
+apt install zoxide
+```
+
+Open ~/.bashrc and add
+```
+eval "$(zoxide init bash)"
+```
+_Restart terminal_
+
+_**Usage**_ :
+ ```bash
+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 # show interactive completions (zoxide v0.8.0+, bash 4.4+/fish/zsh only)
+```
+
+>**Note** - More info on usage :
+
+> [Algorithm matching](https://github.com/ajeetdsouza/zoxide/wiki/Algorithm#matching)
+
#