Created
July 25, 2017 15:26
-
-
Save awarrenlove/b326edde1acf56a2cb0ddcba8a12c019 to your computer and use it in GitHub Desktop.
Bash Function to Create Directory and Switch Immediately
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
echo 'function mkcd() { mkdir -p $1; cd $1; }' >> ~/.profile && source ~/.profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment