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

fish dies when sourcing /etc/profile #1059

Closed
maxyz opened this issue Jul 27, 2018 · 0 comments · Fixed by #1260
Closed

fish dies when sourcing /etc/profile #1059

maxyz opened this issue Jul 27, 2018 · 0 comments · Fixed by #1260
Labels
Milestone

Comments

@maxyz
Copy link

maxyz commented Jul 27, 2018

As mentioned by the fish developers, fish is not a POSIX 1003.1 compatible shell, thus sourcing /etc/profile with it only leads to syntax errors Fish bug #3665

As such, please consider reverting 7a27e1a

This will reopen #879, wich might need a different solution, maybe something like:

$SHELL --login -c "/bin/sh -c '[ -f /etc/profile ] && . /etc/profile; export -p' > $xsess_tmp"

Happy hacking,

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

Successfully merging a pull request may close this issue.

2 participants