Update addalias.sh

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

View File

@ -2,5 +2,5 @@ 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="$command" | tee -a ~/.bashrc
echo Alias $alias added echo Alias $alias added