2019-10-01 16:10:16 +02:00
|
|
|
# exit
|
|
|
|
|
2019-10-02 03:25:30 +02:00
|
|
|
Exits the nu shell. If you have multiple nu shells, use `exit --now` to exit all of them.
|
2019-10-01 16:10:16 +02:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
```shell
|
|
|
|
> exit
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2019-11-30 02:24:39 +01:00
|
|
|
> shells
|
|
|
|
━━━┯━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
# │ │ name │ path
|
|
|
|
───┼───┼────────────┼─────────────────────────────────────
|
|
|
|
0 │ │ filesystem │ /home/jonathanturner/Source/nushell
|
|
|
|
1 │ │ filesystem │ /home
|
|
|
|
2 │ X │ filesystem │ /usr
|
|
|
|
━━━┷━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
> exit
|
|
|
|
> shells
|
|
|
|
━━━┯━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
# │ │ name │ path
|
|
|
|
───┼───┼────────────┼─────────────────────────────────────
|
|
|
|
0 │ │ filesystem │ /home/jonathanturner/Source/nushell
|
|
|
|
1 │ X │ filesystem │ /home
|
|
|
|
━━━┷━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
> exit --now
|
2019-10-02 03:25:30 +02:00
|
|
|
exits both the shells
|
2019-10-01 16:10:16 +02:00
|
|
|
```
|