Skip to content

inputrc is not read from state directory #118

@EdVanDance

Description

@EdVanDance

I'm struggling for quite some time to fix this issue, but I can't figure it out by my self.

I'm trying to benefit from vladimir-kotikov/clink-completions#135 ...

So I created an inputrc and added:

set colored-stats on

Here is the relevant clink info output:

version  : 1.2.7.3b2d3f
binaries : C:\Users\edvan\scoop\apps\clink\1.2.7
state    : C:\Users\edvan\AppData\Local\clink
scripts  : C:\Users\edvan\scoop\apps\clink\1.2.7 ; C:\Users\edvan\AppData\Local\clink ; D:\tools\msys\home\edvan\.dotfiles\clink
inputrc  : %clink_inputrc%
             (unset)
         : state directory (see above)
             C:\Users\edvan\AppData\Local\clink\.inputrc   (exists)

It had no effect, so I tried to figure out what is going on ... it boils down to rl.isvariabletrue('colored-stats') returning false.
I added a simple script C:\Users\edvan\AppData\Local\clink\test.lua:

if rl.isvariabletrue('colored-stats') then
  print "yes"
else
  print "no"
end

It always prints no. Am I doing something wrong or is there an actual issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions