Skip to content

Why check for login shell in the fish.config snippet ? #2195

Answered by native-api
HugoBelotDeloro asked this question in Q&A
Discussion options

You must be logged in to vote

Any non-login shell is (in a normal setup) a descendant of a login shell.
If Fish is not your login shell, you need to add an equivalent command to your login shell's configuration.
In a Linux GUI session, the GUI manager acts as a Sh login shell (executing ~/.profile).

Anyway, we're currently considering going forward with #2085 which will make a separate --path step unnecessary (except for some Bash setups).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HugoBelotDeloro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants