I am experiencing issues with invoking and changing the default shell to Zsh, Dash, and Ksh in Garuda Linux. While Bash and Fish work without any issues, shells like Zsh, Dash, and Ksh either do not invoke correctly or behave unexpectedly, not providing the usual interactive shell environment. However, these shells are not stuck and can be exited using Ctrl-D
. The problem persists both when changing the default shell using chsh
and when invoking these shells manually.
.%;888:8898898: ????
x;XxXB%89b8:b8%b88: --------------
.8Xxd 8X:. OS: Garuda Linux x86_64
.8Xx; 8x:. Host: HN-WX9X (M1060)
.tt8x .d x88; Kernel: 6.12.8-zen1-1-zen
.@8x8; .db: xx@; Uptime: 24 mins
,tSXX° .bbbbbbbbbbbbbbbbbbbB8x@; Packages: 1569 (pacman)[stable]
.SXxx bBBBBBBBBBBBBBBBBBBBbSBX8; Shell: fish 3.7.1
,888S pd! Resolution: 2160x1440
8X88/ q WM: Hyprland (Wayland)
8X88/ Theme: Sweet [Qt], BeautyLine [GTK2], Sweet-D]
GBB. Icons: BeautyLine [Qt], BeautyLine [GTK2/3/4]
x%88 d888@8@X@X@X88X@@XX@@X@8@X. Terminal: foot 1.20.1
dxXd dB8b8b8B8B08bB88b998888b88x. Terminal Font: JetbrainsMonoNL 14
dxx8o .@@;. CPU: AMD Ryzen 7 3700U with Radeon Vega Mobilz
dx88 .t@x. GPU: AMD Radeon Vega 10 Graphics [Integrated]
d:SS@8ba89aa67a853Sxxad. Memory: 3618 MiB / 14919 MiB
.d988999889889899dd.
I suspected it as chsh issue but I’ve problem invoking any shell rather than fish and bash. But even zsh do not give any interaction at all.
Following output taken into alacritty emulator. Foot only can able to change bash btw.
╭─user@host in ~ took 24m6s
╰─λ zsh
user@host
.%;888:8898898: --------------
x;XxXB%89b8:b8%b88: OS: Garuda Linux Bird of Prey x86_64
.8Xxd 8X:. Host: HUAWEI HN-WX9X-PCB
.8Xx; 8x:. Kernel: 6.12.8-zen1-1-zen
.tt8x .d x88; Uptime: 46 mins
.@8x8; .db: xx@; Packages: 1569 (pacman)
,tSXX° .bbbbbbbbbbbbbbbbbbbB8x@; Shell: fish 3.7.1
.SXxx bBBBBBBBBBBBBBBBBBBBbSBX8; Resolution: 2160x1440
,888S pd! WM: Hyprland
8X88/ q Theme: BeautyLine [GTK2], Sweet-Dark [GTK3]
GBB. Icons: BeautyLine [GTK2/3]
x%88 d888@8@X@X@X88X@@XX@@X@8@X. Terminal: alacritty
dxXd dB8b8b8B8B08bB88b998888b88x. CPU: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx (8) @ 2.300GHz
dxx8o .@@;. GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
dx88 .t@x. Memory: 3686MiB / 14918MiB
d:SS@8ba89aa67a853Sxxad.
.d988999889889899dd.
╭─user@host in ~
╰─λ dash
$ echo $SHELL
/usr/bin/fish
$ zsh
user@host
.%;888:8898898: --------------
x;XxXB%89b8:b8%b88: OS: Garuda Linux Bird of Prey x86_64
.8Xxd 8X:. Host: HUAWEI HN-WX9X-PCB
.8Xx; 8x:. Kernel: 6.12.8-zen1-1-zen
.tt8x .d x88; Uptime: 47 mins
.@8x8; .db: xx@; Packages: 1569 (pacman)
,tSXX° .bbbbbbbbbbbbbbbbbbbB8x@; Shell: fish 3.7.1
.SXxx bBBBBBBBBBBBBBBBBBBBbSBX8; Resolution: 2160x1440
,888S pd! WM: Hyprland
8X88/ q Theme: BeautyLine [GTK2], Sweet-Dark [GTK3]
GBB. Icons: BeautyLine [GTK2/3]
x%88 d888@8@X@X@X88X@@XX@@X@8@X. Terminal: alacritty
dxXd dB8b8b8B8B08bB88b998888b88x. CPU: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx (8) @ 2.300GHz
dxx8o .@@;. GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
dx88 .t@x. Memory: 3700MiB / 14918MiB
d:SS@8ba89aa67a853Sxxad.
.d988999889889899dd.
╭─user@host in ~
╰─λ ksh
$ echo $SHELL
/usr/bin/fish
$ bash
bash: zmodload: command not found
bash: eval: line 14: unexpected argument `(' to conditional binary operator
bash: eval: line 14: syntax error near `(['
bash: eval: line 14: `if [[ $ZSH_VERSION == ([1-4]*) ]]; then'
bash: \e[1;5C:: command not found
bash: \e[1;5D:: command not found
╭─user@host in ~ took 0s
╰─λ echo $SHELL
/usr/bin/fish
╭─user@host in ~ took 0s
╰─λ bash
bash: zmodload: command not found
bash: eval: line 14: unexpected argument `(' to conditional binary operator
bash: eval: line 14: syntax error near `(['
bash: eval: line 14: `if [[ $ZSH_VERSION == ([1-4*) ]]; then'
bash: \e[1;5C:: command not found
bash: \e[1;5D:: command not found
╭─user@host in ~ took 0s
╰─λ echo $SHELL
/usr/bin/fish
I’m using the latest version of Garuda and this is not occurred recent times. I can not remember using Zsh ever.
garuda-inxi
System:
Kernel: 6.12.8-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=e____b668a72f rw rootflags=subvol=@
quiet resume=UUID=838d____e0e0c loglevel=3 ibt=off
Desktop: Hyprland v: 0.46.2 with: waybar tools: avail: swayidle,swaylock
vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: HUAWEI product: HN-WX9X v: M1060
serial: <superuser required>
Mobo: HUAWEI model: HN-WX9X-PCB v: M1060 serial: <superuser required>
part-nu: C331 uuid: <superuser required> UEFI: HUAWEI v: 1.17
date: 03/10/2022
Battery:
ID-1: BAT0 charge: 36.4 Wh (100.0%) condition: 36.4/41.2 Wh (88.6%)
volts: 12.3 min: 11.4 model: DYNAPACK HB4593J6ECW type: Li-ion
serial: <filter> status: not charging cycles: 482
CPU:
Info: model: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx bits: 64
type: MT MCP arch: Zen/Zen+ note: check gen: 1 level: v3 note: check
built: 2019 process: GF 12nm family: 0x17 (23) model-id: 0x18 (24)
stepping: 1 microcode: 0x8108109
Topology: cpus: 1x dies: 1 clusters: 1 cores: 4 threads: 8 tpc: 2
smt: enabled cache: L1: 384 KiB desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB
desc: 4x512 KiB L3: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 1177 min/max: 1400/2300 boost: enabled scaling:
driver: acpi-cpufreq governor: schedutil cores: 1: 1177 2: 1177 3: 1177
4: 1177 5: 1177 6: 1177 7: 1177 8: 1177 bogomips: 36727
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Picasso/Raven 2 [Radeon Vega
Series / Radeon Mobile Series] vendor: Huawei driver: amdgpu v: kernel
arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 3
speed: 8 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1 bus-ID: 03:00.0
chip-ID: 1002:15d8 class-ID: 0300 temp: 60.0 C
Device-2: IMC Networks HD Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:3 chip-ID: 13d3:5482
class-ID: fe01 serial: <filter>
Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
compositor: Hyprland v: 0.46.2 driver: X: loaded: amdgpu
unloaded: modesetting alternate: fbdev,vesa dri: radeonsi gpu: amdgpu
display-ID: 1
Monitor-1: eDP-1 model: ChiMei InnoLux P130ZFA-BA1 built: 2018
res: 2160x1440 hz: 60 dpi: 200 gamma: 1.2 scale: 1
size: 275x183mm (10.83x7.2") diag: 330mm (13") ratio: 3:2 modes:
max: 2160x1440 min: 640x480
API: Vulkan v: 1.4.303 layers: 9 device: 0 type: integrated-gpu name: AMD
Radeon Vega 10 Graphics (RADV RAVEN) driver: N/A device-ID: 1002:15d8
surfaces: xcb,xlib,wayland device: 1 type: cpu name: llvmpipe (LLVM
18.1.8 256 bits) driver: N/A device-ID: 10005:0000
surfaces: xcb,xlib,wayland
API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP
Audio vendor: Huawei driver: snd_hda_intel v: kernel pcie: gen: 3
speed: 8 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:15de class-ID: 0403
Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
vendor: Huawei driver: snd_pci_acp3x v: kernel alternate: snd_rn_pci_acp3x,
snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
snd_sof_amd_acp63, snd_sof_amd_acp70 pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 03:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
vendor: Huawei driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 16 bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.12.8-zen1-1-zen status: kernel-api tools: N/A
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
vendor: & Tele RSH driver: rtw_8822ce v: N/A modules: rtw88_8822ce pcie:
gen: 1 speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 01:00.0
chip-ID: 10ec:c822 class-ID: 0280
IF: wlp1s0 state: up mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-1:2 chip-ID: 1358:c123
class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.1
lmp-v: 10 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
Local Storage: total: 942.7 GiB used: 62.82 GiB (6.7%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN530
SDBPNPZ-512G-1027 size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 21117000 temp: 40.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: SanDisk model: SDSSDH3 500G
size: 465.76 GiB block-size: physical: 512 B logical: 512 B type: USB
rev: 2.1 spd: 480 Mb/s lanes: 1 mode: 2.0 tech: SSD serial: <filter>
fw-rev: 0409 scheme: GPT
Partition:
ID-1: / raw-size: 460.61 GiB size: 460.61 GiB (100.00%)
used: 62.82 GiB (13.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 460.61 GiB size: 460.61 GiB (100.00%)
used: 62.82 GiB (13.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 460.61 GiB size: 460.61 GiB (100.00%)
used: 62.82 GiB (13.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 460.61 GiB size: 460.61 GiB (100.00%)
used: 62.82 GiB (13.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 14.57 GiB used: 35.8 MiB (0.2%)
priority: 100 comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842
max-streams: 8 dev: /dev/zram0
ID-2: swap-2 type: partition size: 16.03 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
System Temperatures: cpu: 59.5 C mobo: N/A gpu: amdgpu temp: 59.0 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 14.57 GiB used: 7.8 GiB (53.5%)
Processes: 335 Power: uptime: 14h 8m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 5.82 GiB services: upowerd Init: systemd
v: 257 default: graphical tool: systemctl
Packages: pm: pacman pkgs: 1569 libs: 433 tools: pacseek,paru Compilers:
gcc: 14.2.1 Shell: garuda-inxi default: Bash v: 5.2.37 running-in: alacritty
inxi: 3.3.36
Garuda (2.6.26-1):
System install date: 2024-12-27
Last full system update: 2025-01-07 ↻
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut
Windows dual boot: No/Undetected
Failed units: