aliasらくちん追加.py
code:main.py
import os
os.system("touch ~/.bashrc")
path = '~/.bashrc'
short=input("Short expression?")
full=input("Full expression?")
newline = "\nalias "+short+"='"+full+"'"
with open(path,'a+') as f:
f.write(newline)
print("Alias added!!")
os.system("source ~/.bashrc")