Skip to content

Commit

Permalink
Merge pull request #3619 from softmoth/inputrc-env
Browse files Browse the repository at this point in the history
repl: Check %*ENV<INPUTRC> for Readline config
  • Loading branch information
lizmat committed Apr 12, 2020
2 parents 1a10b63 + 61a4836 commit d8f2c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.c/REPL.pm6
Expand Up @@ -46,7 +46,7 @@ do {
my $read = $Readline.new;
if ! $*DISTRO.is-win {
$read.read-init-file("/etc/inputrc");
$read.read-init-file("~/.inputrc");
$read.read-init-file(%*ENV<INPUTRC> // "~/.inputrc");
}
method init-line-editor {
$read.read-history($.history-file);
Expand Down

0 comments on commit d8f2c30

Please sign in to comment.