1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-05 18:31:10 +01:00

add alias function

This commit is contained in:
SanketDG 2015-05-01 00:12:30 +05:30
parent 6372674351
commit 4276e1b991

View File

@ -112,6 +112,10 @@ def is_second_run(command):
return command.script.startswith('fuck')
def alias():
print("\nalias fuck='eval $(thefuck $(fc -ln -1))'\n")
def main():
colorama.init()
user_dir = setup_user_dir()