mirror of
https://github.com/cheat/cheat.git
synced 2025-06-18 04:58:35 +02:00
Add cheatsheet for scd
`scd` is a fantastic `oh-my-zsh` plugin to quickly jump between directories. See here: https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/scd
This commit is contained in:
parent
cccf37c284
commit
8ac1851a69
20
cheat/cheatsheets/scd
Normal file
20
cheat/cheatsheets/scd
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Index recursively some paths for the very first run
|
||||||
|
scd -ar ~/Documents/
|
||||||
|
|
||||||
|
# Change to a directory path matching "doc"
|
||||||
|
scd doc
|
||||||
|
|
||||||
|
# Change to a path matching all of "a", "b" and "c"
|
||||||
|
scd a b c
|
||||||
|
|
||||||
|
# Change to a directory path that ends with "ts"
|
||||||
|
scd "ts$"
|
||||||
|
|
||||||
|
# Show selection menu and ranking of 20 most likely directories
|
||||||
|
scd -v
|
||||||
|
|
||||||
|
# Alias current directory as "xray"
|
||||||
|
scd --alias=xray
|
||||||
|
|
||||||
|
# Jump to a previously defined aliased directory
|
||||||
|
scd xray
|
Loading…
x
Reference in New Issue
Block a user