From d70c569e1e22e7540a3e06e6719d119f191c9e3e Mon Sep 17 00:00:00 2001 From: Sean Champ Date: Fri, 10 Mar 2023 00:22:11 -0800 Subject: [PATCH] check for 'bsd' in sys.platform, using sh as a default shell On BSD platforms, the sys.platform test in confpage.py may fall through to the Darwin case. This adds a test for 'bsd' in sys.platform, here using 'sh' as a default shell for confpage.py --- spyder_terminal/confpage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spyder_terminal/confpage.py b/spyder_terminal/confpage.py index 20811493..ef449aa4 100644 --- a/spyder_terminal/confpage.py +++ b/spyder_terminal/confpage.py @@ -50,6 +50,8 @@ def setup_page(self): default_option = 'cmd' elif sys.platform.startswith('linux'): default_option = 'bash' + elif 'bsd' in sys.platform: + default_option = 'sh' else: mac_ver = LooseVersion(platform.mac_ver()[0]) if mac_ver >= LooseVersion('10.15.0'):