mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	#185 Fix python 3
This commit is contained in:
		| @@ -32,7 +32,7 @@ class Generic(object): | ||||
|         return command_script | ||||
|  | ||||
|     def app_alias(self): | ||||
|         print "\nalias fuck='eval $(thefuck $(fc -ln -1))'\n" | ||||
|         return "\nalias fuck='eval $(thefuck $(fc -ln -1))'\n" | ||||
|  | ||||
|     def _get_history_file_name(self): | ||||
|         return '' | ||||
| @@ -114,7 +114,7 @@ def to_shell(command): | ||||
|  | ||||
|  | ||||
| def app_alias(): | ||||
|     return _get_shell().app_alias() | ||||
|     print(_get_shell().app_alias()) | ||||
|  | ||||
|  | ||||
| def put_to_history(command): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user