Skip to content

Commit

Permalink
Fix reading of '$if GAP' part in ~/.inputrc
Browse files Browse the repository at this point in the history
Make sure that
  rl_readline_name = "GAP"
is set before the
  rl_initialize();
initialization of readline. Otherwise GAP specific settings in
~/.inputrc under

$if GAP
  ...
$endif

are not read at startup.
  • Loading branch information
frankluebeck authored and Alexander Konovalov committed Nov 24, 2018
1 parent 4c26a9c commit 4191f41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,7 @@ void InitSystem (
InitSysFiles();

#ifdef HAVE_LIBREADLINE
rl_readline_name = "GAP";
rl_initialize ();
#endif

Expand Down

0 comments on commit 4191f41

Please sign in to comment.