Stunkymonkey / nautilus-open-any-terminal

GNU General Public License v3.0
568 stars 59 forks source link

Make remote terminal open as a login shell #151

Closed human9 closed 6 months ago

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

lvxnull commented 6 months ago

If we don't want to care about compatibility with obscure shells, I think it's better to just stick to -l instead of exec -a.

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