mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-30 14:44:05 +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)
|
" eval $TF_CMD".format(fuck)
|
||||||
|
|
||||||
if settings.alter_history:
|
if settings.alter_history:
|
||||||
return alias + " && history -s $TF_CMD'"
|
return alias + "; history -s $TF_CMD'"
|
||||||
else:
|
else:
|
||||||
return alias + "'"
|
return alias + "'"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user