added cd shorthands
This commit is contained in:
+6
-1
@@ -140,4 +140,9 @@ ex ()
|
||||
}
|
||||
# <<< Archive extraction <<<
|
||||
|
||||
|
||||
# >>> cd shortcuts >>>
|
||||
# "mkcd" to mkdir and then cd into the result
|
||||
mkcd() { mkdir "$@"&&cd "$@";}
|
||||
# "cdls" to cd and ls in one go
|
||||
cdls() { cd "$@"&&ls;}
|
||||
# <<< cd shortcuts <<<
|
||||
|
||||
Reference in New Issue
Block a user