From 60c47c5f1ee1e402540efd907fc006d59b86dc1e Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Mon, 14 Jun 2021 00:05:45 +0530 Subject: [PATCH] Updated Cheatsheet (markdown) --- Cheatsheet.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Cheatsheet.md b/Cheatsheet.md index 7ae8381..7891d66 100644 --- a/Cheatsheet.md +++ b/Cheatsheet.md @@ -283,4 +283,16 @@ You also find these commands in Dash as a Cheat-sheet. | :------- | :---------------------------- | | _RED_ | RAILS_ENV=development | | _REP_ | RAILS_ENV=production | -| _RET_ | RAILS_ENV=test | \ No newline at end of file +| _RET_ | RAILS_ENV=test | + +## zoxide + +| Command | Description | +| :---------- | :---------------------------------------------------------- | +| `z foo` | `cd` into highest ranked directory matching `foo` | +| `z foo bar` | `cd` into highest ranked directory matching `foo` and `bar` | +| `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`) | \ No newline at end of file