mirror of
https://github.com/nushell/nushell.git
synced 2024-12-02 05:13:56 +01:00
450 B
450 B
title | layout | version |
---|---|---|
g | command | 0.59.1 |
Switch to a given shell.
Signature
> g (shell_number)
Parameters
shell_number
: shell number to change to
Examples
Make two directories and enter new shells for them, use g
to jump to the specific shell
> mkdir foo bar; enter foo; enter ../bar; g 1
Use shells
to show all the opened shells and run g 2
to jump to the third one
> shells; g 2