Shells in shells

    To get started, let’s enter a directory:

    The shells command shows us there are three shells currently active: our original “nushell” source directory and now this new “book” directory.

    We can see the directory changing, but we’re always able to get back to a previous directory we were working on. This allows us to work in multiple directories in the same session.

    Exiting the shell

    You can always quit Nu, even if multiple shells are active by passing the flag to the exit command. Like so: exit --now