ii8 / havoc

minimal terminal emulator for wayland
Other
108 stars 18 forks source link

Use the shell of the current user's preference by default? #8

Closed kindaro closed 4 years ago

kindaro commented 5 years ago

I see that by default /bin/sh is used. Perhaps it would be more reasonable to use whichever shell is specified for the current user in /etc/passwd, or otherwise preferred? For instance, SHELL environment variable is a standard location where the path to the user's preferred shell executable may be found. That would make the experience so much better from the start.

To safeguard from non-existent or non-executable SHELL, a fallback to /bin/sh may still be put in place.

ii8 commented 4 years ago

I realise that most other terminals use /etc/passwd and SHELL env variable, but I don't really see the point. You can already set it in the config file and on the command line. If somebody wants this enough to implement it, feel free. But I don't really care about having 4 different places to configure the shell.