3 ms·
My favourite prompt-hack is to colourise the $ when the previous command exits non-zero, here's how I have my bash PS1 set up: http://www.metabrew.com/article/u
by metabrew 16y ago
My favourite prompt-hack is to colourise the $ when the previous command exits non-zero, here's how I have my bash PS1 set up: http://www.metabrew.com/article/updated-bash-ps1 http://www.metabrew.com/article/updated-bash-ps1
If you exit `top` by pressing q, it exits with non-zero - who knew? :)