Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jpambrun
on Oct 23, 2021
|
parent
|
context
|
favorite
| on:
Nsh: A fish/bash-like Posix shell in Rust
I think you should hit ctrl+d when you are done in bash to avoid the nested fish>bash>fish.
AYBABTME
on Oct 23, 2021
[–]
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.
knjmooney
on Oct 23, 2021
|
parent
[–]
`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: