this post was submitted on 19 Apr 2021
2 points (100.0% liked)

Linux

49493 readers
1040 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 3 years ago* (last edited 3 years ago) (1 children)

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

[–] [email protected] 1 points 3 years ago (1 children)

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.

[–] [email protected] 1 points 3 years ago (1 children)

It didn't work :(

Also, I couldn't manage to update the terminal.

[–] [email protected] 1 points 3 years ago (1 children)

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.

[–] [email protected] 1 points 3 years ago (1 children)
[–] [email protected] 1 points 3 years ago (1 children)

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.

[–] [email protected] 1 points 3 years ago (1 children)

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!

[–] [email protected] 1 points 3 years ago

No problem. Best of luck!