# HG changeset patch # User Guido Berhoerster # Date 1565297289 -7200 # Node ID 131c3559205451ed0832c4a9ba839d1d853aaf98 # Parent 8b55f7b1c6b3d1a7d3f5e270f0172f648c53b75b Allow keybinding customizations in ~/.teclarc diff -r 8b55f7b1c6b3 -r 131c35592054 io.c --- a/io.c Thu Aug 08 16:23:44 2019 +0200 +++ b/io.c Thu Aug 08 22:48:09 2019 +0200 @@ -116,6 +116,7 @@ if (gl_private == NULL) { err(1, "new_GetLine"); } + gl_configure_getline(gl_private, NULL, NULL, "~/.teclarc"); gl_catch_blocked(gl_private); } @@ -168,6 +169,7 @@ if (gl == NULL) { err(1, "new_GetLine"); } + gl_configure_getline(gl, NULL, NULL, "~/.teclarc"); /* disable default filename completion */ gl_customize_completion(gl, NULL, io_gl_complete_nothing); gl_echo_mode(gl, 0); diff -r 8b55f7b1c6b3 -r 131c35592054 pwm.c --- a/pwm.c Thu Aug 08 16:23:44 2019 +0200 +++ b/pwm.c Thu Aug 08 22:48:09 2019 +0200 @@ -126,6 +126,7 @@ if (gl == NULL) { err(1, "new_GetLine"); } + gl_configure_getline(gl, NULL, NULL, "~/.teclarc"); gl_catch_blocked(gl); gl_limit_history(gl, PWM_HISTORY_LINES_MAX); /* disable default filename completion */