Quantcast
Viewing all articles
Browse latest Browse all 2

Is it possible to switch shells without getting dumped into the old shell by exit?

For example, let's say I have bash, sh, fish, zsh, pwsh or more installed.

If I start bash, switching into sh leads to the following:

user@device:/folder/directory$ sh
$ exit
user@device:/folder/directory$ exit

-- Session actually ends.

What I would like is to be able to do this:

user@device:/folder/directory$ switchto fish
user@device /f/directory> switchto zsh
device% exit

-- Session actually ends.

Is there something of the sort that does not close the terminal? For example, a super-shell (maybe shmgr) which is used as the default shell and provides such a command (maybe switchsh).


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>