that'll only work if they're using bash
try putting that in /etc/profile and it should work under most any shell. In addition, you won't have to go into each and every user's profile, just do it globally.
WHMCS Guru - WHMCS addons, management, support and more. WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
Linux Problems? WHMCS Issues? +1-866-546-8914 (linux-14) or @whmcsguru on twitter!