mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 22:54:14 +00:00 
			
		
		
		
	#682: Fix zsh PS1 width in experimental instant mode
This commit is contained in:
		| @@ -31,7 +31,9 @@ class Zsh(Generic): | ||||
|  | ||||
|     def instant_mode_alias(self, alias_name): | ||||
|         if os.environ.get('THEFUCK_INSTANT_MODE', '').lower() == 'true': | ||||
|             mark = USER_COMMAND_MARK + '\b' * len(USER_COMMAND_MARK) | ||||
|             mark = ('%{' + | ||||
|                     USER_COMMAND_MARK + '\b' * len(USER_COMMAND_MARK) | ||||
|                     + '%}') | ||||
|             return ''' | ||||
|                 export PS1="{user_command_mark}$PS1"; | ||||
|                 {app_alias} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user