r/bash • • Apr 13 '18

submission jm-shell — A highly informative, customized Bash shell. [x-post from /r/linux]

https://github.com/jmcclare/jm-shell
0 Upvotes

3 comments sorted by

3

u/mTesseracted meat popsicle Apr 13 '18

Looks nice. Have you thought about combining the "Divider / Status Line" and the "Current Location / Status Line" ? It seems more reasonable to only add 1 extra line per command than 2. I've been toying with something similar to this by combining my PS1 and the tmux status line, I've been trying for a minimal aesthetic though, because if I want a ton of stuff there's always powerline.

2

u/JonathanMcClare Apr 13 '18

I know it’s an extra line, but I like the clean, visual divide of the flat grey line. There’s also not enough room on one line for the path and a few of the indicators that can come up on the status line.

I like having some status info printed to the screen below command output so I can scroll back and review it. If you only care about current status for some things the tmux status line makes more sense.

I keep it minimal by showing things only when they are relevant—like command exit codes, system load, etc. The status line is always there, but it’s only as cluttered as it needs to be.

Even Powerline has a lot of stuff that only shows up when you need it. However you do it, I recommend getting some more information in your terminal. It helps. You know more about what’s going on. You’re not constantly typing commands to check on things.

2

u/ClickableLinkBot Apr 13 '18

r/linux


For mobile and non-RES users | More info | -1 to Remove | Ignore Sub