From ddd8788353eb308cdf0d7b70e568decb95330615 Mon Sep 17 00:00:00 2001 From: Vladimir Iakovlev Date: Mon, 31 Oct 2016 12:57:31 +0100 Subject: [PATCH] #571: always honor alter_history setting in zsh --- thefuck/shells/zsh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thefuck/shells/zsh.py b/thefuck/shells/zsh.py index e522d6a3..79ff89ed 100644 --- a/thefuck/shells/zsh.py +++ b/thefuck/shells/zsh.py @@ -15,7 +15,7 @@ class Zsh(Generic): " eval $TF_CMD".format(alias_name) if settings.alter_history: - return alias + " && print -s $TF_CMD'" + return alias + " ; print -s $TF_CMD'" else: return alias + "'"