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:
Siteshwar Vashisht 2014-01-30 23:53:49 +05:30
parent bfc78186f5
commit a1b43b7a09

View file

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