Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The other thing is, if you don't at least set $PS1 it gets hard to remember which level you're at.




You can configure direnv to en/disable envs based on dir enty/exit, so as long as your shell prompt shows your cwd you also know which env you're in. Less overall to think about if you bind the two states together.



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

Search: