diff --git a/cheat/cheatsheets/z b/cheat/cheatsheets/z new file mode 100644 index 0000000..4b5301f --- /dev/null +++ b/cheat/cheatsheets/z @@ -0,0 +1,14 @@ +# To `cd` to most frecent dir matching `foo` +z foo + +# To `cd` to most frecent dir matching `foo`, then `bar` +z foo bar + +# To `cd` to highest ranked dir matching `foo` +z -r foo + +# To `cd` to most recently accessed dir matching `foo` +z -t foo + +# To list all dirs matching `foo` - By frecency +z -l foo