Paleofetch error on terminal start, only with AMD znver2 kernel

❯ grep -c  '[^[:print:]]' /home/sgs/.zshrc
1

~ 
❯ grep -c  '[^[:print:]]' /home/smoky/.zshrc
1

~ 
❯ 

Are you SGS :slight_smile:

Then go ahead

grep   '[^[:print:]]' /home/sgs/.zshrc
2 Likes
grep   '[^[:print:]]' /home/sgs/.zshrc
alias gitpkg='pacman -Q | grep -i "\-git" | wc -l'			# List amount of -git packages
2 Likes

Delete this line completely and write again by hand :wink:
Maybe save this line in kate document.

2 Likes

I'm on i3 no kate :slight_smile: (Geany)
I delete the line completely , restart i3 with super+r, super+c to be shure, open new terminal and same error.

I reboot now my PC. Just a try like in KDE :wink: dosn't help :smiley:

1 Like

That fix it :wink: :smiley:

## Run paleofetch if session is interactive
#if status --is-interactive
#   paleofetch
#end
1 Like

zsh if then else fi seems the same as bash. Unless you use fish, which IDK.
Why not fi and use end???
zsh_us.pdf

This fixed it in zsh config
## Run paleofetch if session is interactive

   paleofetch --recache

Nope, no, no

What exactly? This disables the section completely. :question:

We must ask @dr460nf1r3 it is not my code :slight_smile:

1 Like

if i now close terminal and start it works .. i try na 5 times .. no error anymore

But is it fish?
zsh if is explained in the linked pdf.

The language barrier?

What have you written in .zshrc file?

This.
Firefox defaults to https

2 Likes

i change only

if status --is-interactive
   paleofetch
end

to

## Run paleofetch if session is interactive

   paleofetch --recache

This is not a fix, I don't even have a proper description... :laughing:

Does paleofetch run when terminal starts?

2 Likes

yeah i start now every time i start the terminal .
i have not try after a reboot . i will reboot now and test

and i have no idea of programming .. i make try and error :rofl:

edit : After restart it still works ..i start terminal and it runs :slight_smile:

                     .%;888:8898898:              smoky@smoky-garudaLinux
                   x;XxXB%89b8:b8%b88:            -----------------------
                .8Xxd                8X:.         OS: Garuda Linux x86_64
              .8Xx;                    8x:.       Kernel: 5.10.12-AMD-znver2
            .tt8x          .d            x88;     Uptime: 0 mins
         .@8x8;          .db:              xx@;   
       ,tSXX°          .bbbbbbbbbbbbbbbbbbbB8x@;  Packages: 2315 (pacman)
     .SXxx            bBBBBBBBBBBBBBBBBBBBbSBX8;  Shell: zsh
   ,888S                                     pd!  Resolution: 3840x2160
  8X88/                                       q   Terminal: konsole
  GBB.                                            
   x%88        d888@8@X@X@X88X@@XX@@X@8@X.        CPU: AMD Ryzen 9 3900X 12- Processor (24) @ 4.0GHz
     dxXd    dB8b8b8B8B08bB88b998888b88x.         Memory: 5545MiB / 64231MiB (8%)
      dxx8o                      .@@;.            
        dx88                   .t@x.                                      
          d:SS@8ba89aa67a853Sxxad.                                        
            .d988999889889899dd.                  


~ 
❯ 
1 Like

I have a suspection, I took the code from fish config and added it to zsh - which doesnt have the same syntax. Fixed in updated version.

5 Likes