nushell/docs/commands/n.md

341 B

title layout version
n command 0.59.0

Switch to the next shell.

Signature

> n

Examples

Make two directories and enter new shells for them, use n to jump to the next shell

> mkdir foo bar; enter foo; enter ../bar; n

Run n several times and note the changes of current directory

> n