Hacker News new | past | comments | ask | show | jobs | submit login

A TTY like you get in your "ALT+F2" is a new login/session shell and uses .bash_profile rather than .bashrc (which is invoked when you create a new bash process in an already existing login session like when you open a terminal window). There are lots of moving pieces, but I've found the easiest way to get the same behavior in both is to have my .bash_profile source my .bashrc.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: