Reduce usage of `cd' to avoid issues with shell aliases
Reduce usage of `cd' to avoid issues with shell aliases

Since we run in interactive context the builtin `cd' may have been aliased to
print some additional info when invoked, thus it's safer for us to avoid
parsing the output from subshells which calls it.

For instance in .bash_profile I have the following function to redefine
`cd' such that it will list the destination directory contents:
cd () { builtin cd "$@" && ls -F --color=auto }

vinaykaradia/clone-nvm,pmq20/nvm,DigitallySeamless/nvm,egilkh/nvm,Theodeus/nvm,kmctown/nvm,woss/nvm,parasaro92/nvm,domenicosolazzo/nvm,wahyutaufik/nvm,thomasf/nvm,WY08271/nvm,misterdjules/nvm,Richardphp/nvm,chinazhaghai/nvm,nontage24/nvm,Theodeus/nvm,jbergstroem/nvm,hkdobrev/nvm,gtdeng/nvm,christophercaburog/nvm,cjac/nvm,Ingelheim/nvm,domenicosolazzo/nvm,IonicaBizauKitchen/nvm,sjfkai/nvm,williamboman/nvm,xtuple/nvm,bbuck/nvm,bbuck/nvm,ljharb/nvm,psychoss/nvm,WY08271/nvm,appleboy/nvm,elrasguno/nvm,SampleLiao/nvm,reybango/nvm,parasaro92/nvm,pmq20/nvm,edwmurph/nvm,DigitallySeamless/nvm,edwmurph/nvm,owen-it/nvm,jaawerth/nvm,kumaria/nvm,creationix/nvm,fnogatz/swivm,PeterDaveHelloKitchen/nvm,evocateur/nvm,Ingelheim/nvm,cirosantilli/nvm,PeterDaveHelloKitchen/nvm,Salahudeen/nvm,hkdobrev/nvm,cnpm/nvm,vinaykaradia/clone-nvm,Kuzirashi/nvm,reybango/nvm,joneit/nvm,woss/nvm,CristianCantoro/nvm,modulexcite/nvm,cjac/nvm,tianzhihen/nvm,IonicaBizauKitchen/nvm,devedbox/nvm,JanChw/nvm,mirydz/nvm,williamboman/nvm,nontage24/nvm,jhliberty/nvm,Kuzirashi/nvm,PeterDaveHello/nvm,modulexcite/nvm,JanChw/nvm,tlevine/nvm,dfackler/nvm,JasonChrYoung/nvm,greyhwndz/nvm,diegofcb10/nvm,devedbox/nvm,jhliberty/nvm,tlevine/nvm,wahyutaufik/nvm,bevacqua/nvm,greyhwndz/nvm,youleiy/nvm,SampleLiao/nvm,LeeLovCY/nvm,psychoss/nvm,CristianCantoro/nvm,youleiy/nvm,tianzhihen/nvm,mmorejon/nvm,JasonChrYoung/nvm,owen-it/nvm,wskplho/nvm,scq000/nvm,slariviere/nvm,elrasguno/nvm,kmctown/nvm,NicCollins/nvm,cirosantilli/nvm,mirydz/nvm,icyflame/nvm,creationix/nvm,PeterDaveHello/nvm,diegofcb10/nvm,Salahudeen/nvm,misterdjules/nvm,jbergstroem/nvm,christophercaburog/nvm,bevacqua/nvm,slariviere/nvm,gtdeng/nvm,michael-ni/nvm,kumaria/nvm,michael-ni/nvm,Richardphp/nvm,thomasf/nvm,ljharb/nvm,egilkh/nvm,hanhailong/nvm,LeeLovCY/nvm,scq000/nvm,mmorejon/nvm,jaawerth/nvm,dfackler/nvm,lukechilds/nvm,evocateur/nvm,cnpm/nvm,icyflame/nvm,lukechilds/nvm,joneit/nvm,hanhailong/nvm,wskplho/nvm,chinazhaghai/nvm