mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03:00
Wrong sense of check for initializing key bindings
Fix for https://github.com/fish-shell/fish-shell/pull/373
This commit is contained in:
@@ -350,7 +350,7 @@ int input_init()
|
|||||||
update_fish_term256();
|
update_fish_term256();
|
||||||
|
|
||||||
/* If we have no keybindings, add a few simple defaults */
|
/* 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"", L"self-insert" );
|
||||||
input_mapping_add( L"\n", L"execute" );
|
input_mapping_add( L"\n", L"execute" );
|
||||||
|
|||||||
Reference in New Issue
Block a user