Closed human9 closed 8 months ago
The --login/-l flag signals that this is a login shell.
Currently without this flag environment files like .profile or /etc/profile are not sourced, which is unexpected when opening a new terminal.
.profile
/etc/profile
I think that's the most portable option, even if it isn't POSIX. Works with every shell I know of.
I can't figure out another way, anyway.
The --login/-l flag signals that this is a login shell.
Currently without this flag environment files like
.profile
or/etc/profile
are not sourced, which is unexpected when opening a new terminal.