colorful ls result under mac os
Change ghopen using function, so it won't run every time when opening a
new session.