After today’s usual updates and reboot, my Garuda Linux show the following promt in all bash terminals:
error: unexpected argument '--shlvl' found
Usage: starship prompt <--status <STATUS_CODE>|--pipestatus <PIPESTATUS>|--terminal-width <TERMINAL_WIDTH>|--path <PATH>|--logical-path <LOGICAL_PATH>|--cmd-duration <CMD_DURATION>|--keymap <KEYMAP>|--jobs <JOBS>>
For more information, try '--help'.
NOTE:
passed arguments: ["prompt", "--terminal-width=88", "--status=0", "--pipestatus=0", "--jobs=0", "--shlvl=1", "--cmd-duration=32"]
I have Garuda XFCE and this prompt happens both in the default terminal and Alacritty.
Output from garuda-inxi
System:
Kernel: 6.6.70-1-lts arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
root=UUID=76e986e8-2548-4b23-adcf-c70cb8e1b381 rw rootflags=subvol=@
quiet rd.luks.uuid=0c08b971-89c7-45b1-90e6-6b8c576d8462 loglevel=3
ibt=off
Desktop: xfce4 v: 4.20 tk: GTK v: 3.24.43 wm: Muffin v: 6.4.1 tools:
avail: xautolock, xfce4-screensaver vt: 7 dm: LightDM
v: 1.32.0 Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 21JSS09V00 v: ThinkPad E14 Gen 5
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: LENOVO model: 21JSS09V00 v: ThinkPad serial: <superuser required>
part-nu: LENOVO_MT_21JS_BU_Think_FM_ThinkPad E14 Gen 5
uuid: <superuser required> UEFI: LENOVO v: R2CET35W(1.17 )
date: 03/28/2024
Battery:
ID-1: BAT0 charge: 56.5 Wh (100.0%) condition: 56.5/57.0 Wh (99.1%)
volts: 13.1 min: 11.5 model: SMP L22M3PG5 type: Li-poly serial: <filter>
status: full cycles: 15
CPU:
Info: model: AMD Ryzen 5 7530U with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 gen: 3 level: v3 note: check built: 2021-22
process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA500011
Topology: cpus: 1x dies: 1 clusters: 1 cores: 6 threads: 12 tpc: 2
smt: enabled cache: L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB
desc: 6x512 KiB L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 3633 min/max: 400/4546 scaling: driver: amd-pstate-epp
governor: powersave cores: 1: 3633 2: 3633 3: 3633 4: 3633 5: 3633 6: 3633
7: 3633 8: 3633 9: 3633 10: 3633 11: 3633 12: 3633 bogomips: 47922
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] Barcelo vendor: Lenovo
driver: amdgpu v: kernel arch: GCN-5 code: Vega process: GF 14nm
built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s ports: active: DP-4,DP-5,eDP-1 empty: DP-1, DP-2, DP-3,
HDMI-A-1 bus-ID: 04:00.0 chip-ID: 1002:15e7 class-ID: 0300 temp: 45.0 C
Device-2: Bison Integrated RGB Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:3 chip-ID: 5986:215d
class-ID: fe01 serial: <filter>
Device-3: Logitech C505 HD Webcam driver: snd-usb-audio,uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1.1.3.2.4:13
chip-ID: 046d:08e3 class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.15 with: Xwayland v: 24.1.4 driver: X:
loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa dri: radeonsi
gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 7040x1440 s-dpi: 96 s-size: 1862x381mm (73.31x15.00")
s-diag: 1901mm (74.83")
Monitor-1: DP-4 mapped: DisplayPort-3 pos: primary,top-left
model: AOC Q27P2W serial: <filter> built: 2022 res: mode: 2560x1440 hz: 60
scale: 100% (1) dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23")
diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 720x400
Monitor-2: DP-5 mapped: DisplayPort-4 pos: top-center model: AOC Q27P2W
serial: <filter> built: 2022 res: mode: 2560x1440 hz: 60 scale: 100% (1)
dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27")
ratio: 16:9 modes: max: 2560x1440 min: 720x400
Monitor-3: eDP-1 mapped: eDP pos: bottom-r model: AU Optronics 0xfa9b
built: 2021 res: mode: 1920x1200 hz: 60 scale: 100% (1) dpi: 162 gamma: 1.2
size: 301x188mm (11.85x7.4") diag: 355mm (14") ratio: 16:10 modes:
max: 1920x1200 min: 640x480
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
drv: radeonsi inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.3.3-arch1.2
glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
renoir LLVM 19.1.6 DRM 3.54 6.6.70-1-lts) device-ID: 1002:15e7
memory: 1000 MiB unified: no
API: Vulkan v: 1.4.303 layers: 6 device: 0 type: integrated-gpu name: AMD
Radeon Graphics (RADV RENOIR) driver: N/A device-ID: 1002:15e7
surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe (LLVM 19.1.6 256
bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib
Info: Tools: api: eglinfo, glxinfo, vulkaninfo de: xfce4-display-settings
x11: xdpyinfo, xprop, xrandr
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition
Audio vendor: Lenovo driver: snd_hda_intel v: kernel pcie: gen: 3
speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.1
chip-ID: 1002:1637 class-ID: 0403
Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
vendor: Lenovo driver: snd_rn_pci_acp3x v: kernel alternate: snd_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 pcie:
gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
bus-ID: 04:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
vendor: Lenovo driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.6
chip-ID: 1022:15e3 class-ID: 0403
Device-4: Plantronics Poly Blackwire 3325 Series
driver: plantronics,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 1-2:2 chip-ID: 047f:430c class-ID: 0300
serial: <filter>
Device-5: Logitech C505 HD Webcam driver: snd-usb-audio,uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1.1.3.2.4:13
chip-ID: 046d:08e3 class-ID: 0102 serial: <filter>
Device-6: Lenovo ThinkPad USB-C Dock Audio
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 3-1.2:6 chip-ID: 17ef:30b0 class-ID: 0300
serial: <filter>
API: ALSA v: k6.6.70-1-lts status: kernel-api tools: N/A
Server-1: 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 RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: 2000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp1s0 state: down mac: <filter>
Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
vendor: Lenovo driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
bus-ID: 02:00.0 chip-ID: 14c3:0616 class-ID: 0280
IF: wlp2s0 state: down mac: <filter>
Device-3: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
rev: 3.0 speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 4-1.1:4
chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: enp4s0f4u1u1 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: virbr0 state: down mac: <filter>
IF-ID-2: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
IF-ID-3: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Foxconn / Hon Hai Bluetooth 5.2 Adapter [MediaTek MT7922]
driver: btusb v: 0.8 type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0
bus-ID: 3-4:5 chip-ID: 0489:e0d8 class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.2
lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
Local Storage: total: 931.51 GiB used: 147.44 GiB (15.8%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 990 PRO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 3B2QJXD7 temp: 41.9 C
scheme: GPT
Partition:
ID-1: / raw-size: 931.21 GiB size: 931.21 GiB (100.00%)
used: 147.44 GiB (15.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-0c08b971-89c7-45b1-90e6-6b8c576d8462
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 728 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 931.21 GiB size: 931.21 GiB (100.00%)
used: 147.44 GiB (15.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-0c08b971-89c7-45b1-90e6-6b8c576d8462
ID-4: /var/log raw-size: 931.21 GiB size: 931.21 GiB (100.00%)
used: 147.44 GiB (15.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-0c08b971-89c7-45b1-90e6-6b8c576d8462
ID-5: /var/tmp raw-size: 931.21 GiB size: 931.21 GiB (100.00%)
used: 147.44 GiB (15.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-0c08b971-89c7-45b1-90e6-6b8c576d8462
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 38.11 GiB used: 256 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 56.0 C mobo: 38.0 C gpu: amdgpu temp: 46.0 C
Fan Speeds (rpm): fan-1: 1900 fan-2: 1900
Info:
Memory: total: 40 GiB note: est. available: 38.11 GiB used: 9.43 GiB (24.7%)
Processes: 393 Power: uptime: 3h 18m states: freeze,mem,disk
suspend: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 15.23 GiB services: csd-power,upowerd
Init: systemd v: 257 default: graphical tool: systemctl
Packages: pm: pacman pkgs: 1576 libs: 466 tools: pamac,paru Compilers:
clang: 19.1.6 gcc: 14.2.1 Shell: garuda-inxi default: fish v: 3.7.1
running-in: xfce4-terminal inxi: 3.3.37
Garuda (2.6.26-1.1):
System install date: 2024-06-06
Last full system update: 2025-01-13
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut
Windows dual boot: Probably (Run as root to verify)
Failed units:
I think I have to modify some starship file but not sure which one. Almost every bash command redirect to this prompt. Luckily the xonsh (python command line) command still works and I can use it almost normally.
Any suggestions to help me solve this issue? Haven’t found anything similar in Google yet.
Thanks