You are not logged in.

#1 2021-03-20 17:50:41

al0o0z
Member
Registered: 2018-09-13
Posts: 11

Some terminal emulators opening bash instead of zsh after changing

I'm having a weird issue. I've chnaged my default shell to zsh. my /etc/passwd output is

root:x:0:0::/root:/bin/bash
.
.
arafat:x:1000:1000:Arafat H Rakib:/home/arafat:/bin/zsh

when i type "su - arafat" zsh is opened
When i open xfce4-terminal/alacritty they open bash but when i open terminator/kitty they open zsh.
i checked ~/.config/alacritty/alacritty.yml and /home/arafat/.config/xfce4/terminal/terminalrc but found nothing hmm
In xfce4-terminal preference command is not set to run bash. Instead i'm using this to run zsh instead of bash.
I've rebooted multiple times already.
Thanks in advance.

Offline

#2 2021-03-23 03:17:15

ponyrider
Member
Registered: 2014-11-18
Posts: 112

Re: Some terminal emulators opening bash instead of zsh after changing

you found nothing?

# Shell
#
# You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`.
# Entries in `shell.args` are passed unmodified as arguments to the shell.
#
# Default:
#   - (macOS) /bin/bash --login
#   - (Linux/BSD) user login shell
#   - (Windows) powershell
shell:
program: /bin/bash <<<<<<<<<<<<<<<<

Offline

#3 2021-03-23 07:20:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,550

Re: Some terminal emulators opening bash instead of zsh after changing

I'm not saying that there's nothing stupid in his alacritty.yml, but you can't look at your local user config to determine that and he explicitly stated that

al0o0z wrote:

In xfce4-terminal preference command is not set to run bash. Instead i'm using this to run zsh instead of bash.

I'd also strace alacritty to see whether bash is actually the (first) process it spawns and this isn't caused by some conditional zshrc script that results in "exec bash" or so.

Offline

Board footer

Powered by FluxBB