Closed rrrnld closed 3 years ago
Curious. Unfortunately I don't know much about fish but did you log out and back in after changing the configuration?
Ha… Just as I said to myself "of course I did!" and rebooted just to make sure, the problem went away. So thanks for the reminder!
Glad it worked out. Also, thanks for making such a detailed report!
Any reason you cc'd me as maintainer?
Any reason you cc'd me as maintainer?
Yes, the issue template suggested to CC the last person that worked on the module when in doubt. Sorry if that was a mistake!
Yes, the issue template suggested to CC the last person that worked on the module when in doubt. Sorry if that was a mistake!
No problem! just wanted to se if I was listed somewhere.
is there a reason that restarting the shell doesn't reload the variables ? if it's sourcing the hm-session.vars.fish file every time, why don't the variables update until logout and login ? having to logout and login while testing variables is pretty tedious, and if possible to avoid, would be nice
Issue description
I have a couple of lines in my
~/.config/nixpkgs/home.nix
that manipulate session variables. I expected these to be present in my fish terminal sessions (fish is my default shell), but they're not.I installed
foreign-env
manually after previously realizing that it wasn't getting installed automatically. My complete fish config looks like this:My
~/.nix-profile/etc/profile.d/hm-session.vars.sh
looks like this:Checking these variables in a Fish session gives the following result:
Meta
Maintainer CC
@meck
Technical detail