-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fish: environment.shellAliases are not available in non-login shell #25800
Comments
Agh, what a mess. Thanks for raising this issue. |
I think this issue is a little subtler than one would think: aliases are sourced, but only when the parent shell has not already sourced the interactive configuration. This is out of line with the behavior of the other shells on NixOS. I have a fix which I've tested with your example here. I will post a link to the relevant PR momentarily (after I put it up). |
So apparently outgoing SSH is blocked from the WiFi on this cruise ship, so I can't push commits with the remotes I have set up, and my sister is nagging me to get off the computer so we can go out. If you need a quick fix on your own machine (I will be back later today, while I still have internet access, to submit the new PR), just change the (The latter will do the trick if you want a quick fix without any changes to your Nixpkgs tree.) |
there's a fix in this commit: 183082c |
Thanks!
…On Sun, May 21, 2017, 11:11 PM Jörg Thalheim ***@***.***> wrote:
Closed #25800 <#25800>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#25800 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADCJbp8elSK3rvsFk5DUricwH61CTv2qks5r8SclgaJpZM4NbGdY>
.
|
…ells this fixes issue NixOS#25800: NixOS#25800 (cherry picked from commit 42c768c)
Issue description
Fish usually has
environment.shellAliases
available, but the aliases are now missing, when the shell is not a login shell (presumably because of #24314).Steps to reproduce
Have
Then launch
fish
as a not-login shell. Try to uselsa
.Technical details
The text was updated successfully, but these errors were encountered: