mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-29 22:24:44 +00:00
Merge pull request #571 from josephfrazier/bash-honor-alter-history
bash: always honor alter_history setting
This commit is contained in:
@@ -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 + "'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user