3 ms·
Here's what I use: https://gist.github.com/3686357 https://gist.github.com/3686357 It looks like this: http://i.imgur.com/523PD.png http://i.imgur.com/523PD.pn
by cellularmitosis 14y ago
Here's what I use: https://gist.github.com/3686357 https://gist.github.com/3686357
It looks like this: http://i.imgur.com/523PD.png http://i.imgur.com/523PD.png
- oelmekki 14y agoThanks. After reading the post, I turned my prompt into that : https://gist.github.com/648a75ec821acff10749 https://gist.github.com/648a75ec821acff10749 which looks like that : http://i.imgur.com/Qc86I.png http://i.imgur.com/Qc86I.png I like having an uri directly pastable to scp. Also, as mentioned in other comments, Having a fixed length prompt on the command line is quite appreciable. I'm unsatisfied, though, with the need of subshells to draw a single prompt. It's ok for the git part, but I feel like the PROMPT_COMMAND part is a hack, I just can't succeed in making it displays colors (rather than escaped characters) without a subshell.