1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-13 22:28:33 +00:00

Merge pull request #571 from josephfrazier/bash-honor-alter-history

bash: always honor alter_history setting
This commit is contained in:
Vladimir Iakovlev 2016-10-31 12:56:31 +01:00 committed by GitHub
commit 76c0e7bc70

View File

@ -14,7 +14,7 @@ class Bash(Generic):
" eval $TF_CMD".format(fuck)
if settings.alter_history:
return alias + " && history -s $TF_CMD'"
return alias + "; history -s $TF_CMD'"
else:
return alias + "'"