Created
August 4, 2014 13:56
-
-
Save xr09/912044868b954685de2b to your computer and use it in GitHub Desktop.
mkalias on-the-fly
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
# mkalias name "command param1 param2 etc.." | |
# Example: mkalias srvfolder "python -m SimpleHTTPServer" | |
mkalias () { | |
echo "alias $1=\"$2\"" >> ~/.bashrc | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment