Merge pull request #402 from FlorianKempenich/master

Add cheatsheet for `scd`
This commit is contained in:
Chris Allen Lane 2019-01-11 14:19:22 -05:00 committed by GitHub
commit bf1be86fb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
cheat/cheatsheets/scd Normal file
View File

@ -0,0 +1,20 @@
# To index recursively some paths for the very first run:
scd -ar ~/Documents/
# To change to a directory path matching "doc":
scd doc
# To change to a path matching all of "a", "b" and "c":
scd a b c
# To change to a directory path that ends with "ts":
scd "ts$"
# To show selection menu and ranking of 20 most likely directories:
scd -v
# To alias current directory as "xray":
scd --alias=xray
# To jump to a previously defined aliased directory:
scd xray