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

I think you should hit ctrl+d when you are done in bash to avoid the nested fish>bash>fish.



The idea is to return to a fish shell, but with all the env-vars that bash might have loaded as a result of executing the script.


`exec <shell>` would avoid nested shells and inherit the environment. Which might be preferable if you find your terminal emulator complaining about processes still running on close.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: