DEV Community

Personalize your Linux terminal prompt ✨

Karin on February 17, 2020

If you're just as much of a fan of personalizing your coding environment as I am, you must have been just as bummed out when you ran your Linux env...
Collapse
 
davidpfarrell profile image
David Farrell

Good intro, especially with the custom characters / colors.

Once you decide that a custom prompt is definitely for you, you may want to consider a more comprehensive prompt framework.

I suggest taking a look at Bash-It

It has a lot of prompt themes to chose from.

Many of the themes support different segments that you can use to customize your prompt, ie:

  • Git/Svn status
  • Node/Python/Ruby Status
  • K8S Status

I'm a huge fan of (and contributor to) the Bash-It Powerline themes, which support many different types of segments, along with the ability to control both the order of segments and their colors.

Collapse
 
ghost profile image
Ghost

Nice post!

An if you often use git, you can even add the git status of your current working directory.

github.com/magicmonty/bash-git-prompt

All those ZSH and Fish users, they think they are sooo fancy. pff, we have nice things too.

Collapse
 
audacioustux profile image
Audacious Tux • Edited

asciimojis are great too ;)
https://dev-to-uploads.s3.amazonaws.com/i/hqkgm5fq2z6idi0yw1lx.png

Collapse
 
khenhey profile image
Karin

Yeah those are so fun!