Stealing from @ruizink bash_profile.