Update addalias.sh

This commit is contained in:
hxcde 2023-01-20 11:18:30 +01:00 committed by GitHub
parent e47b366791
commit e14e0bb0b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,5 +2,6 @@ echo "Which command do you want to use as alias?"
read alias read alias
echo "Which command should your alias execute?" echo "Which command should your alias execute?"
read command read command
echo $alias="$command" | tee -a ~/.bashrc echo "alias $alias='$command'" | tee -a ~/.bashrc
echo
echo Alias $alias added echo Alias $alias added