Update addalias.sh
This commit is contained in:
parent
e47b366791
commit
e14e0bb0b7
@ -2,5 +2,6 @@ echo "Which command do you want to use as alias?"
|
||||
read alias
|
||||
echo "Which command should your alias execute?"
|
||||
read command
|
||||
echo $alias="$command" | tee -a ~/.bashrc
|
||||
echo "alias $alias='$command'" | tee -a ~/.bashrc
|
||||
echo
|
||||
echo Alias $alias added
|
||||
|
Loading…
Reference in New Issue
Block a user