Skip to content

Comment on Customizing Your Bash Prompt

Comments

I've gone with Powerline, here is a sample[1]. I like it because it shows me what branch I'm on when I'm inside a git repo and whether or not I need to commit. The theme I'm using is Tomorrow Night Bright[2].

[1] - http://i.imgur.com/86B9B5N.png

[2] - https://github.com/chriskempson/tomorrow-theme

Wow, that's quite busy. Have you checked out `tmux-powerline`? I know it's deprecated but it still works very well.

Here's a screenshot of my setup for reference: http://cl.ly/image/3m2k1p1T2S2Y

I haven't checked that out, but I definitely will. What happens when you go into a directory that's very deep in the tree?

The working directory will be truncated with ellipses a specified length. The default is 40 but it, of course, can be changed. :)

https://github.com/erikw/tmux-powerline/blob/master/segments...

I could never get those beautiful powerline fonts working with Profont on Xterm/Urxvt.

I see you're using OSX, so it may not be helpful, but what font are you using there?

Menlo Regular for Powerline. Yeah Powerline setup is not very clean, but once it's up and running, it looks great. You have to compile the fonts with he special Powerline symbols order to get it to work properly. Here are some fonts that are already pre-complied[1].

[1] - https://github.com/Lokaltog/powerline-fonts

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.