Add cheatsheet for `z`

This commit is contained in:
Florian Kempenich 2019-08-03 13:29:18 +01:00
parent ea07b6ad0e
commit d10290541d
1 changed files with 14 additions and 0 deletions

14
cheat/cheatsheets/z Normal file
View File

@ -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