this post was submitted on 22 Mar 2025
15 points (89.5% liked)
Linux
6661 readers
163 users here now
A community for everything relating to the GNU/Linux operating system
Also check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You can see here my theme with autodetect of Python (I work a lot in Python). The orange bit is the error code returned by the previous command. Git is supported as well, and looks pretty much like
powerline-gitstatus
, as you'll read about below.collapsed inline media
First, lets make Bash a little better:
Autocd is a big one here, cdspell and direxpand as well. Ensures I don't need Zsh for the same experience. With Zsh I'd just get annoyed by small stuff like having to wrap things in quotes (I think
pip install some_lib[some_extra]
works in Bash, but not in Zsh And Ohmyzsh just felt it kept slowing things down, so I actually dislike Zsh ^(please don't kill me) >_>Anyway, I based this on
powerline-status
+powerline-gitstatus
(if you want to use that instead (no, my config doesn't work), justsudo apt install powerline-status powerline-gitstatus
- DO NOT USE THEPYPI
VERSION (it's too outdated, and a pain to install)) because I had issues with finding the right combination of my configuration and which libraries to install for bash - there are too damn many: powerline-bash, powerline-status, powerline-rs, powerline-go, etc, etc. And they all do things just that little bit different.Anyway, here is my
~/.config/starship.toml
(archive1, archive2). It's a little long, and can probably be shortered, but that might break something again, and I'm not willing to risk anything right now.https://gist.github.com/NostraDavid/675a0706716b98816fd2809560ffe42c