this post was submitted on 21 Oct 2023
75 points (100.0% liked)

Linux

1259 readers
91 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
 

Hi. I've been using powerlevel10k for a long time, but a few days ago, I decided I wanted to customize it a bit. I opened the .p10k.zsh file, and I was shocked. It's really massive, with TONS of options. I've been digging through for a few hours already, and it's absolutely amazing how much you can customize it without actually programming anything. I was wondering what other people are using. So my questions are:

  • Do you customize your shell prompt?
  • If yes, do you use some framework or pre-made theme, or do you just configure it the vanilla way in your bashrc/zshrc/...
  • How is your experiences with it so far?
  • Share screenshot of your prompts, please (Sadly, my prompt is currently half done, so I can't really share it)
you are viewing a single comment's thread
view the rest of the comments
[–] stepanzak@iusearchlinux.fyi 4 points 1 year ago* (last edited 1 year ago) (1 children)

That's fair. Powerlevel10k actually has a very smart feature for this called transient prompt that removes the first line full of info from every executed command. It's hard to explain. There is a screen recording in the README I have linked.

[–] Cwilliams 1 points 1 year ago (1 children)

That sounds really cool! Do you know if I could do with default zsh?

[–] stepanzak@iusearchlinux.fyi 1 points 1 year ago

I'm sure you can since powerlevel10k is also written in pure zsh. I have no idea how to do it or how difficult it would be, however.