mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 04:41:14 -03:00
Add required argument to history delete (#4740)
This commit is contained in:
committed by
Fabian Homborg
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
|
||||
|
||||
Reference in New Issue
Block a user