2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-15 13:38:41 +00:00
nushell/docs/commands/shells.md

27 lines
1.9 KiB
Markdown
Raw Normal View History

# shells
Lists all the active nu shells with a number/index, a name and the path. Also marks the current nu shell.
## Examples
```shell
> shells
2019-11-30 14:24:39 +13:00
━━━┯━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# │ │ name │ path
2019-11-30 14:24:39 +13:00
───┼───┼────────────┼─────────────────────────────────────
0 │ │ filesystem │ /home/jonathanturner/Source/nushell
1 │ │ filesystem │ /usr
2 │ X │ filesystem │ /home
2019-11-30 14:24:39 +13:00
━━━┷━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
```
```shell
/> shells
2019-11-30 14:24:39 +13:00
━━━┯━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# │ │ name │ path
2019-11-30 14:24:39 +13:00
───┼───┼──────────────────────────────────────────────────┼─────────────────────────────────────
0 │ │ filesystem │ /home/jonathanturner/Source/nushell
1 │ X │ {/home/jonathanturner/Source/nushell/Cargo.toml} │ /
2019-11-30 14:24:39 +13:00
━━━┷━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
```