Add required argument to history delete (#4740)

This commit is contained in:
Xavier Lepaul 2018-02-25 16:46:25 +01:00 committed by Fabian Homborg
parent 8536a6825f
commit 5648322993

View file

@ -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