added cd shorthands

This commit is contained in:
paul-loedige
2021-01-19 09:56:11 +01:00
parent 4f57d5d84f
commit b5cbd2aaa1
+6 -1
View File
@@ -140,4 +140,9 @@ ex ()
} }
# <<< Archive extraction <<< # <<< 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 <<<