thestinger / termite

Termite is obsoleted by Alacritty. Termite was a keyboard-centric VTE-based terminal, aimed at use within a window manager with tiling and/or tabbing support.
https://github.com/alacritty/alacritty
2.73k stars 240 forks source link

Error "unknown shell: '/bin/bash'" when starting termite #781

Closed stdevel closed 3 years ago

stdevel commented 3 years ago

When starting termite, the following error is displayed:

thread 'main' panicked at 'unknown shell: "/bin/bash". Supported shells: bash, ion, powershell', src/main.rs:69:25
stack backtrace:
   0:     0xaaaac99c4cec - <unknown>
   1:     0xaaaac99e0530 - <unknown>
   2:     0xaaaac99c0ff4 - <unknown>
   3:     0xaaaac99c6d5c - <unknown>
   4:     0xaaaac99c68c0 - <unknown>
   5:     0xaaaac99c74dc - <unknown>
   6:     0xaaaac99c705c - <unknown>
   7:     0xaaaac99c51ac - <unknown>
   8:     0xaaaac99c6fc4 - <unknown>
   9:     0xaaaac99c6f80 - <unknown>
  10:     0xaaaac9833084 - <unknown>
  11:     0xaaaac98456e8 - <unknown>
  12:     0xaaaac9845a40 - <unknown>
  13:     0xaaaac99c7950 - <unknown>
  14:     0xaaaac98331a0 - <unknown>
  15:     0xffff9f181538 - __libc_start_main
  16:     0xaaaac9805b54 - <unknown>

I had a look at the config file but I found no option to set a particular shell. My user is using /bin/bash - the following shells are listed in /etc/shells:

/bin/sh
/bin/bash
/usr/bin/git-shell

I'm using termite v15 on the latest Manjaro ARM edition.

Am I missing something here? Sorry if this is dumb question - I just started with termite.

stdevel commented 3 years ago

Looks like this is a bash related problem in Manjaro - I switched to zsh and the error disappeared.

Affected versions:

$ bash --version
GNU bash, Version 5.1.4(1)-release (aarch64-unknown-linux-gnu)
...
$ LANG=C pacman -Ss bash
core/bash 5.1.004-1 [installed]
    The GNU Bourne Again shell