mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 03:03:57 +08:00
Add required argument to history delete (#4740)
This commit is contained in:
parent
8536a6825f
commit
5648322993
|
@ -739,7 +739,7 @@ class FishConfigHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
|||
|
||||
def do_delete_history_item(self, history_item_text):
|
||||
# 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))
|
||||
out, err = run_fish_cmd(cmd)
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue
Block a user