mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
Add required argument to history delete (#4740)
This commit is contained in:
parent
8536a6825f
commit
5648322993
1 changed files with 1 additions and 1 deletions
|
@ -739,7 +739,7 @@ class FishConfigHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
||||||
|
|
||||||
def do_delete_history_item(self, history_item_text):
|
def do_delete_history_item(self, history_item_text):
|
||||||
# It's really lame that we always return success here
|
# It's really lame that we always return success here
|
||||||
cmd = ('builtin history delete --exact -- %s; builtin history save' %
|
cmd = ('builtin history delete --case-sensitive --exact -- %s; builtin history save' %
|
||||||
escape_fish_cmd(history_item_text))
|
escape_fish_cmd(history_item_text))
|
||||||
out, err = run_fish_cmd(cmd)
|
out, err = run_fish_cmd(cmd)
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue