mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	add alias function
This commit is contained in:
		| @@ -112,6 +112,10 @@ def is_second_run(command): | |||||||
|     return command.script.startswith('fuck') |     return command.script.startswith('fuck') | ||||||
|  |  | ||||||
|  |  | ||||||
|  | def alias(): | ||||||
|  |     print("\nalias fuck='eval $(thefuck $(fc -ln -1))'\n") | ||||||
|  |  | ||||||
|  |  | ||||||
| def main(): | def main(): | ||||||
|     colorama.init() |     colorama.init() | ||||||
|     user_dir = setup_user_dir() |     user_dir = setup_user_dir() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user