mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 06:38:32 +00:00
Also delete 'fuck' from history
This commit is contained in:
parent
3cb2821884
commit
0016943ecf
@ -51,7 +51,9 @@ class Fish(Generic):
|
||||
def app_alias(self, alias_name):
|
||||
if settings.alter_history:
|
||||
alter_history = (' builtin history delete --exact'
|
||||
' --case-sensitive -- $fucked_up_command\n')
|
||||
' --case-sensitive -- $fucked_up_command\n'
|
||||
' builtin history delete --exact'
|
||||
' --case-sensitive -- {0}\n').format(alias_name)
|
||||
else:
|
||||
alter_history = ''
|
||||
# It is VERY important to have the variables declared WITHIN the alias
|
||||
|
Loading…
x
Reference in New Issue
Block a user