News for hackers. Stuff that matters.
Re:Nsh: A fish/bash-like Posix shell in Rust by jpambrun on Saturday October 23, 2021 @09:11AM (#28968056)
I think you should hit ctrl+d when you are done in bash to avoid the nested fish>bash>fish.
Re:Nsh: A fish/bash-like Posix shell in Rust by AYBABTME on Saturday October 23, 2021 @09:20AM (#28968128)
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.
Re:Nsh: A fish/bash-like Posix shell in Rust by knjmooney on Saturday October 23, 2021 @07:05PM (#28973245)
`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.