Merge pull request #468 from FlorianKempenich/master

Add cheatsheet for `z`
This commit is contained in:
Chris Allen Lane 2019-08-28 08:39:47 -04:00 committed by GitHub
commit b1dabec129
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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