NavigationtagsRecent comments
User login |
Visual feedback of the exit status of the previous command in bashPut this in your .bashrc, and the current directory in your PS1 will be printed green if the previous command had exit state 0, red otherwise. No more typing 'echo $?', ' && echo ok', '|| echo failed' etc on the command line.
( Inspired by this post ) Trackback URL for this post:http://dieter.plaetinck.be/trackback/51
Submitted by Dieter_be on Tue, 10/14/2008 - 21:56. categories [ ]
|
Post new comment