Closed poperigby closed 2 years ago
Interesting. I was working with fish shell when writing this code and it worked. I will have to investigate this.
I believe I was running into this as well on Garuda Linux, antidot init
would sometimes print the POSIX shell script instead anyway.
A solution is to put antidot init -s fish
instead of just antidot init
; though there is still a bug.
Also apparently I closed all my merge requests and didn't reopen one, gonna fix that (EDIT: nope, its just blending in with the stupid dependabot PRs)
The problem is that $SHELL
is not reset unless a shell is launched as a login shell, I believe.
Or maybe just not reset in general huh
@magnus-ISU I won't be able to work on this project for the next 2 weeks. I am sorry for any delays in PR reviews and merges, hope I can get to merge it all and release a new version with some cool features I am planning.
No problem and sounds good! My PR did change quite a bit of some of the code so its probably best to merge it before you start work on those new features assuming you haven't already, otherwise there might be some conflicts. But thanks for making this software, I do think it is good that it exists.
I removed = from the text generated by antidot init on fish and it worked. Edit: like set -x VAR "/home/value"
I generated
env.fish
withantidot clean
, and then when I runantidot init | source
it errors out with this:I'm using v0.6.2-1 on Arch Linux.