📜 ⬆️ ⬇️

Who has what PS1 in .bashrc and caption in .screenrc

While Gui'shniki are arguing over who is more KDE / Gnome / Fvwm / Fluxbox configured, he decided to ask those who work most of the time on the command line interface. How to paint or make it more convenient / fun command promt and screen.
I have export PS1 = "\ [\ e [31; 1m \] \ u @ \ [\ e [32; 1m \] \ h \ e [33; 1m \] # \ e [33; 0m \]" in .bashrc and
caption always "% {+ b rk}% H% {gk} |% c% {yk}% d.% m.% Y |% {wk}%?% - Lw%?% {bw}% n *% f% t%? (% u)%?% {wk}%?% + Lw%? |% {rk} Load:% l% {wk} "in .screenrc

Looks like this:

image

')

Source: https://habr.com/ru/post/73218/


All Articles