cross-posted from: https://lemmy.ml/post/61051

Hi. Please can someone help me with setting up my zsh? I’m having two problems:

  • When using the powerline10k theme, the shell gets stuck on fetching gitstatusd

  • The prompt shows those weird characters in the screenshot

I have already installed powerline fonts. I don’t know what to do next… I appreciate any help. Thanks.

Edit: logs here.

  • rafael@lemmy.mlOP
    link
    fedilink
    arrow-up
    1
    ·
    4 years ago

    Extracting the binary to ~/.cache/gitstatus worked! Thank you very much!!! Now there’s only that ugly symbols in the prompt :(

      • rafael@lemmy.mlOP
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        4 years ago

        I installed this font, but the problem persists :( Could it be something related to the terminal? I’m using GNOME Terminal 2.31.3

        • DonutVeteran@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          4 years ago

          I think it should be alright? It is compatible, maybe try updating GNOME Terminal though. The stable version should be at 3.x.x for most systems.

          Try doing the below after you update, or if you can’t update try it anyways, I guess 😉.

          GNOME Terminal (the default Ubuntu terminal): Open Terminal → Preferences and click on the selected profile under Profiles. Check Custom font under Text Appearance and select MesloLGS NF Regular.1

          And finally try running p10k configure if possible on your system.

            • DonutVeteran@lemmy.ml
              link
              fedilink
              arrow-up
              1
              ·
              4 years ago

              Try restarting the terminal application and zsh, if you haven’t already, after changing the font.

              I thought of something else too to try. Perhaps GNOME Terminal isn’t rendering Unicode properly. Try setting the character encoding to UTF-8. Terminal -> Set Character Encoding -> UTF-8. If UTF-8 is already set, set it to a different encoding and then back to UTF-8.

                • DonutVeteran@lemmy.ml
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  4 years ago

                  Did you run p10k configure after you changed the font? You should run it after you change the font. Afterwards, try updating GNOME terminal if the problem persists. You mentioned that you couldn’t update it last time, was there a specific reason? I could help with that.

                  You could also try filing an issue on their Github and see if that gets you anywhere.

                  • rafael@lemmy.mlOP
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    4 years ago

                    Sorry for the delay, I broke the system trying to install zsh… I did run p10k config, reboot, and tried updating the terminal. Actually, that version seems to be the latest available (it is a RedHat VDI). Well, maybe I’ll open an issue in github :( Thank you very much for your help!