loading...

re: Bash: How To Teleport In The Terminal VIEW POST

FULL DISCUSSION
 

Make aliases more easily:

#!/bin/bash
# Quickly make a persistent alias
echo "alias $1='$2'" >> ~/.bash_aliases
. ~/.bash_aliases
 

This is leet af! I'm stealing this for sure.

Code of Conduct Report abuse