lxsang / PTerm

MIT License
34 stars 8 forks source link

World menu item ‘Terminal’ doesn’t run one’s preferred shell #36

Closed Rinzwind closed 10 months ago

Rinzwind commented 2 years ago

The world menu item ‘Terminal’ always runs /bin/bash, it would be nicer if it used one’s preferred shell.

On macOS, /bin/bash was used as the default login shell until macOS Catalina, which changed it to /bin/zsh: see the Apple support article “Use zsh as the default shell on your Mac”. I do still use Bash myself, but as /bin/bash is v3.2.57 on macOS Big Sur, I installed a newer version from MacPorts and used chsh to set that version as my login shell.

I’m not sure what the best approach is for the menu item: