mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 21:07:58 +02:00
Add example for command n,g,p and grid, update date now examples (#4622)
This commit is contained in:
@ -9,3 +9,15 @@ Switch to the previous shell.
|
||||
## Signature
|
||||
|
||||
```> p ```
|
||||
|
||||
## Examples
|
||||
|
||||
Make two directories and enter new shells for them, use `p` to jump to the previous shell
|
||||
```shell
|
||||
> mkdir foo bar; enter foo; enter ../bar; p
|
||||
```
|
||||
|
||||
Run `p` several times and note the changes of current directory
|
||||
```shell
|
||||
> p
|
||||
```
|
||||
|
Reference in New Issue
Block a user