Grimoire-Command.es

GNU+Linux command memo

liquidprompt : a useful adaptive prompt for Bash & zsh

Prompt enrichi affichant l’état du système.

# apt install liquidprompt
$ echo "echo $- | grep -q i 2>/dev/null && . /usr/share/liquidprompt/liquidprompt" >> ~/.zshrc (1)
1 Only load liquidprompt in interactive shells, not from a script or from scp
[user:~] $  (1)
⌁24% ⌂42% 3d/2&/1z [user@server:~/ … /code/liquidprompt][pyenv]↥ master(+10/-5,3)*+ 125 ± (2)
1 if there is nothing special about the current context
2 when Liquid Prompt is displaying everything (a rare event full of colors not visible here !)