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:
Florian Kempenich 2018-10-25 11:34:25 +01:00 committed by GitHub
parent cccf37c284
commit 8ac1851a69
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 @@
# 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