30block / sweet-home

Your $HOME in a container
Apache License 2.0
5 stars 1 forks source link

Make default shell user configurable #3

Closed pipex closed 2 years ago

pipex commented 2 years ago

The entrypoint to the container loads sh if no command is given. It would be nice if the script could load the preferred shell from the user nix configuration (not sure how yet) and run that command by default.

Adding this behavior in the bash.stub could also have the benefit of allowing the balena dashboard terminal to open up that shell.

pipex commented 2 years ago

It can be done by setting the environment variable SWEET_HOME_SHELL