1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-18 20:11:17 +00:00

#571: always honor alter_history setting in zsh

This commit is contained in:
Vladimir Iakovlev 2016-10-31 12:57:31 +01:00
parent 76c0e7bc70
commit ddd8788353

View File

@ -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 + "'"