Created
January 28, 2024 02:22
-
-
Save kjpark/4b68b69b73c49849e6588956d1192d84 to your computer and use it in GitHub Desktop.
mkcd - make and cd into a directory in one go!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkcd() { mkdir -p "$@" && cd "$@" ; } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mkcda combination ofmkdirandcdThis is linked from my blog post on the subject of making a directory and changing into it with one line.
Installation
Use my redirect URL (easier to remember than finding this gist) and add it to your rc!
Usage