diff --git a/terminatorlib/util.py b/terminatorlib/util.py index 1592cc7f..b8ad5aba 100755 --- a/terminatorlib/util.py +++ b/terminatorlib/util.py @@ -125,8 +125,7 @@ def shell_lookup(): usershell = pwd.getpwuid(os.getuid())[6] except KeyError: usershell = None - shells = [os.getenv('SHELL'), usershell, 'bash', - 'zsh', 'tcsh', 'ksh', 'csh', 'sh'] + shells = [usershell, 'bash', 'zsh', 'tcsh', 'ksh', 'csh', 'sh'] for shell in shells: if shell is None: