diff --git a/bash/.bashrc b/bash/.bashrc index bdb2b31..a561eac 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -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 <<<