Closed l0b0 closed 1 year ago
I've observed this as well.
Should be fixed by #61
Thank you! Is there a release planned?
@SuperSandro2000 Looks like this is still partially broken, at least in latest NixOS 22.05. Actual behaviour:
cd some-dir
where there's an .envrc
containing eval "$(lorri direnv)"
.git st
no longer suggests answers.However, if I tab-complete git st
before cd some-dir
, the completion works. Basically, tab-completion is only broken if I go into a direnv-enabled directory immediately after opening the shell. Running a different command first, such as cd /
, does not help. Hope this helps debug the underlying issue.
$ lorri --version
lorri 1.5.0
$ direnv --version
2.31.0
@exarkun Are you also observing this still?
It looks like this is fixed in nixpkgs 22.11. Thank you!
Describe the bug
To Reproduce Steps to reproduce the behavior on a NixOS system with the lorri daemon running and git and direnv installed:
git st
followed by a Tab auto-suggest "stage stash status".git st
followed by a Tab no longer auto-suggests.Expected behavior
Git auto-complete should continue working.
Metadata
Additional context
Console session with relevant commands and their outputs: