Created
August 7, 2023 04:16
-
-
Save kj-sh604/db614b6a606002b99db7d35f7906cdd8 to your computer and use it in GitHub Desktop.
bashisms in fish: source `/etc/profile` and `.zprofile` if they exist on tty login (no display manager)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if status is-login | |
| exec bash -c "test -e /etc/profile && source /etc/profile;\ | |
| test -e ~/.zprofile && source ~/.zprofile;\ | |
| exec fish" | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment