this post was submitted on 30 Aug 2025
21 points (92.0% liked)

Linux

57796 readers
785 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 6 years ago
MODERATORS
 

A short while ago, I saw a blog post from someone about modernizing their shell. Unfortunately, I lost the blog post, but there was some really good stuff in there. Just mentioning this in case someone knows what I'm talking about.

One tweak I remember they mentioned was about fixing programs that have broken formatting. It prevents scenarios like

user@hostname:~$ echo "hi"
hiuser@hostname:-~$

where the output and shell prompt get placed on the same line. I noticed this happens with bash with C programs that don't include a \n in the final printf statement.

top 6 comments
sorted by: hot top controversial new old
[–] wuphysics87@lemmy.ml 5 points 22 hours ago
[–] illusionist@lemmy.zip 8 points 1 day ago* (last edited 1 day ago) (1 children)

That is a rabbit hole. There are as many tools as sand on the beach.

One of the tools you are looking for is probably starship.

But you can make it as easy as customiying PS1 with e.g. https://bash-prompt-generator.org/

[–] eldavi@lemmy.ml 5 points 23 hours ago

rabbit holes can be fun sometimes and the ones for shell feels like techy masturbation to me. lol

[–] just_another_person@lemmy.world 2 points 1 day ago (1 children)

Get a term app that does all the things for you, install ohmyzsh or fish or something, then learn that thing.

There is no universal or worthwhile catchall for any of this because it's so subjective. Find what works for you, and get good at it.

[–] Neptr@lemmy.blahaj.zone 4 points 1 day ago

Seconding fish shell. Very nice experience and the only real downside (or upside depending on perspective) is the non-POSIX syntax for some things.

[–] bacon_pdp@lemmy.world 1 points 1 day ago

Either nushell or fish shell if you want a modern shell.

But honestly shell usage tends towards vim or emacs workflows.