mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
fish_config: capitalize keynames to match parser output
This commit is contained in:
parent
ecaba64056
commit
4d04125fa1
1 changed files with 2 additions and 2 deletions
|
@ -398,7 +398,7 @@ class BindingParser:
|
|||
""" Gets a readable representation of binding """
|
||||
|
||||
try:
|
||||
result = BindingParser.readable_keys[self.buffer]
|
||||
result = BindingParser.readable_keys[self.buffer.lower()]
|
||||
except KeyError:
|
||||
result = self.parse_binding()
|
||||
|
||||
|
@ -599,7 +599,7 @@ class FishConfigHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
|||
|
||||
if comps[1] == '-k':
|
||||
key_name, command = comps[2].split(' ', 1)
|
||||
binding_parser.set_buffer(key_name)
|
||||
binding_parser.set_buffer(key_name.capitalize())
|
||||
else:
|
||||
key_name = None
|
||||
command = comps[2]
|
||||
|
|
Loading…
Reference in a new issue