Wow: nojhan/liquidprompt: A full-featured & carefully designed adaptive prompt for Bash & Zsh
This is really useful!
via:
- [WayBack] Bash Prompt Overkill: https://github.com/nojhan/liquidprompt ist eine Bash “P…
- [WayBack] Das sind wirklich interessante Ideen, muss ich mal ausprobieren:Red prompt if the previous command has failed, otherwise green.Shows running time of … – Heiko Wolf – Google+
- [WayBack] Linux Bash Prompt – Martin Ankerl
Sort of tanslated from the first “via” (note that “mit Alles und Scharf” is hard to translate; it’s somewhere between “everything but the kitchen sink, but done right” and “right on the money”):
Bash Prompt Overkill: https://github.com/nojhan/liquidprompt is a Bash “Prompt doing it all right”-extension, which doesn’t care how much any feature costs as we have cores, gigabytes and SSD.
Liquid Prompt automagically recognises context and enables a plethora of features in the prompt when needed based on that context.
It’s like pixie dust for your prompt.
You can configure everything, but you don’t have to: the out of the box experience is already like pixie dust for your prompt.
It works on OS X too and is part of homebrew:
$ brew install liquidprompt ==> Using the sandbox ==> Downloading https://github.com/nojhan/liquidprompt/archive/v_1.11.tar.gz ==> Downloading from https://codeload.github.com/nojhan/liquidprompt/tar.gz/v_1.11 ######################################################################## 100.0% ==> Caveats Add the following lines to your bash or zsh config (e.g. ~/.bash_profile): if [ -f /usr/local/share/liquidprompt ]; then . /usr/local/share/liquidprompt fi If you'd like to reconfigure options, you may do so in ~/.liquidpromptrc. A sample file you may copy and modify has been installed to /usr/local/share/liquidpromptrc-dist Don't modify the PROMPT_COMMAND variable elsewhere in your shell config; that will break things. ==> Summary 🍺 /usr/local/Cellar/liquidprompt/1.11: 7 files, 125.6K, built in 3 seconds [jeroenp:~/Versioned] 10s $
–jeroen