mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 06:34:09 +00:00 
			
		
		
		
	#N/A Fix history rule with blank history
This commit is contained in:
		| @@ -11,7 +11,8 @@ def _not_corrected(history, tf_alias): | ||||
|         if previous is not None and line != tf_alias: | ||||
|             yield previous | ||||
|         previous = line | ||||
|     yield history[-1] | ||||
|     if history: | ||||
|         yield history[-1] | ||||
|  | ||||
|  | ||||
| @memoize | ||||
|   | ||||
		Reference in New Issue
	
	Block a user