set -o vi
Linux
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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
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/
rabbit holes can be fun sometimes and the ones for shell feels like techy masturbation to me. lol
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.
Seconding fish shell. Very nice experience and the only real downside (or upside depending on perspective) is the non-POSIX syntax for some things.
Either nushell or fish shell if you want a modern shell.
But honestly shell usage tends towards vim or emacs workflows.