Stunkymonkey / nautilus-open-any-terminal

GNU General Public License v3.0
602 stars 63 forks source link

Make remote terminal open as a login shell #151

Closed human9 closed 8 months ago

human9 commented 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.

human9 commented 8 months ago

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.