mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-20 01:28:56 +00:00
Merge pull request #571 from josephfrazier/bash-honor-alter-history
bash: always honor alter_history setting
This commit is contained in:
commit
76c0e7bc70
@ -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 + "'"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user