mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-13 22:28:33 +00:00
add alias function
This commit is contained in:
parent
6372674351
commit
4276e1b991
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user