p
for shells> p
Make two directories and enter new shells for them, use p
to jump to the previous shell
>mkdirfoobar;enterfoo;enter../bar;p
Run p
several times and note the changes of current directory
>p
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/p.html