Skip to content

When running under Fish shell it shows the shell as Bash, if bash #5

Description

@mateowoetam

I don't know how the program does this but when I run the following command the following command it runs properly except for the shell display:

brrtfetch -width 30 -height 30 -fps 10 /etc/nixos/ascii.gif

result:

                                 ┌──────────── Software Information ────────────┐
        ⦾⦾    ***    **          OS: NixOS 25.11 (Xantusia)
       ⦾⦾⦾⦾    **** ****         kernel: Linux 6.17.0-cachyos
         ⦾⦾⦾    ******           Uptime: 15 mins
     ⦾⦾⦾⦾⦾⦾⦾⦾⦾⦾⦾⦾ ***            Pkgs: 2079 (nix-system), 1495 (nix-user)
                   ***  ⦾⦾⦾⦾     DE: KDE Plasma
        ***         ***⦾⦾⦾⦾      Shell: bash 5.3.3
 *********           *⦾⦾⦾⦾⦾⦾⦾⦾   Term: brrtfetch
 ********⦾           ⦾⦾⦾⦾⦾⦾⦾⦾⦾   Age: 421 days
    ****⦾⦾⦾         ⦾⦾⦾          ├──────────── Hardware Information ────────────┤
   ****  ⦾⦾⦾                     Host: ROG Zephyrus G14 GA402RJ_GA402RJ
          ⦾⦾⦾⦾************       Res: 1920x1200 in 14", 144 Hz [Built-in]
         ⦾⦾⦾⦾⦾⦾    ***           CPU: AMD Ryzen 7 6800HS (16) @ 4.79 GHz
       ⦾⦾⦾⦾ ⦾⦾⦾⦾    ****         GPU: AMD Radeon RX 6700S [Discrete]
        ⦾⦾    ⦾⦾⦾    **          GPU: AMD Radeon 680M [Integrated]
                                 RAM: 5.30 GiB / 38.40 GiB (14%)
                                 └──────────────────────────────────────────────┘

fish is not configured as the user shell but it is the shell I've setup in alacritty to use, other fetchers like fastfetch and hyfetch detect the active shell correctly
expected result:

        #####         ┌──────────── Software Information ────────────┐
       #######        OS: NixOS 25.11 (Xantusia)
       ##O#O##        kernel: Linux 6.17.0-cachyos
       #######        Uptime: 17 mins
     ###########      Pkgs: 2079 (nix-system), 1495 (nix-user)
    #############     DE: KDE Plasma
   ###############    Shell: fish 4.1.1
   ################   Term: alacritty 0.15.1
  #################   Age: 421 days
##################### ├──────────── Hardware Information ────────────┤
##################### Host: ROG Zephyrus G14 GA402RJ_GA402RJ
  #################   Res: 1920x1200 in 14", 144 Hz [Built-in]
                      CPU: AMD Ryzen 7 6800HS (16) @ 4.79 GHz
                      GPU: AMD Radeon RX 6700S [Discrete]
                      GPU: AMD Radeon 680M [Integrated]
                      RAM: 5.67 GiB / 38.40 GiB (15%)
                      └──────────────────────────────────────────────┘

also it seems the text alignment is wonky whne you stop the command and it prints out the static version because the text is not aligned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions