Create addalias.sh

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

6
addalias.sh Normal file
View File

@ -0,0 +1,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 added