Created
January 21, 2024 16:50
-
-
Save Satal/07db78bfc4d714f9c940af08593959ea to your computer and use it in GitHub Desktop.
A function that will make a directory and then change directory into it
This file contains 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
# This goes at the end of .bashrc | |
mkcd() { | |
mkdir -p "$1" && cd "$1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment