mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
Fix for opening bindings tab as initial tab
'fish_config bindings' command should open bindings tab as initially active tab
This commit is contained in:
@@ -830,7 +830,7 @@ if PORT > 9000:
|
||||
# Just look at the first letter
|
||||
initial_tab = ''
|
||||
if len(sys.argv) > 1:
|
||||
for tab in ['functions', 'prompt', 'colors', 'variables', 'history']:
|
||||
for tab in ['functions', 'prompt', 'colors', 'variables', 'history', 'bindings']:
|
||||
if tab.startswith(sys.argv[1]):
|
||||
initial_tab = '#' + tab
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user