Wrong sense of check for initializing key bindings

Fix for https://github.com/fish-shell/fish-shell/pull/373
This commit is contained in:
ridiculousfish 2012-10-30 14:36:37 -07:00
parent 5ea486b20a
commit e46324ced9

View file

@ -350,7 +350,7 @@ int input_init()
update_fish_term256();
/* If we have no keybindings, add a few simple defaults */
if( mapping_list.size() )
if( mapping_list.empty() )
{
input_mapping_add( L"", L"self-insert" );
input_mapping_add( L"\n", L"execute" );