And now with username and brackets showing: export PS1='[\u@\033[01;'$((31 + $(hostname | cksum | cut -d' ' -f1) % 6))'m\]\h\[\033[00m\] \[\033[01;34m\]\w\[\033[00m\]\[\033k\033\\]\$ '
On Fri, Sep 4, 2015 at 8:56 AM, Tom Marshall <[email protected]> wrote: > Quick and dirty method, place this in your .bashrc: > > export PS1='\[\033[01;'$((31 + $(hostname | cksum | cut -d' ' -f1) % > 6))'m\]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\[\033k\033\\\]\$ ' > > > On 09/03/2015 05:34 PM, Sarah Newman wrote: >> >> Another way to remind people of what is what >> https://github.com/prgmrcom/ansible-bash-color-prompt >> _______________________________________________ >> discuss mailing list >> [email protected] >> http://lists.prgmr.com/mailman/listinfo/discuss >> >> > > _______________________________________________ > discuss mailing list > [email protected] > http://lists.prgmr.com/mailman/listinfo/discuss _______________________________________________ discuss mailing list [email protected] http://lists.prgmr.com/mailman/listinfo/discuss
