Once upon a time, Stephen Gallagher <sgallagh(a)redhat.com> said:
We could put the following at the end of /etc/bashrc:
Something like that would seem more appropriate in an /etc/profile.d
drop-in - very little special-sauce should go in /etc/bashrc.
My personal (bike-shedding) preference is to not run external commands
on every prompt though; when a system is slow or having problems, those
can kill any chance at recovery or even troubleshooting.
--
Chris Adams <linux(a)cmadams.net>