2019-10-01 14:10:16 +00:00
|
|
|
# exit
|
|
|
|
|
2019-10-02 01:25:30 +00:00
|
|
|
Exits the nu shell. If you have multiple nu shells, use `exit --now` to exit all of them.
|
2019-10-01 14:10:16 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
```shell
|
|
|
|
> exit
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2019-11-30 01:24:39 +00: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 01:25:30 +00:00
|
|
|
exits both the shells
|
2019-10-01 14:10:16 +00:00
|
|
|
```
|