Skip to content
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

When using fish as the user shell, /etc/profile does not get sourced #1327

Closed
jonas-schievink opened this issue Nov 16, 2020 · 2 comments
Closed

Comments

@jonas-schievink
Copy link

This used to work fine in 0.18.1, but broke in 0.19.0.

Looking at the Xsession script, it does look like fish will end up not sourcing /etc/profile:

*/fish)
xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
$SHELL --login -c "/bin/sh -c 'export -p' > $xsess_tmp"
. $xsess_tmp
rm -f $xsess_tmp
;;

...though I'm not sure why it worked in 0.18.1.

(this was tested with the Arch Linux packages)

@Vogtinator
Copy link
Contributor

See #1059, that change was intentional.

@jonas-schievink
Copy link
Author

Shouldn't #879 be reopened then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants