mirror of
https://github.com/cheat/cheat.git
synced 2024-12-22 12:45:06 +01:00
Merge pull request #402 from FlorianKempenich/master
Add cheatsheet for `scd`
This commit is contained in:
commit
bf1be86fb9
20
cheat/cheatsheets/scd
Normal file
20
cheat/cheatsheets/scd
Normal 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
|
Loading…
Reference in New Issue
Block a user