Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update shells_in_shells.md #1195

Merged
merged 3 commits into from
Jan 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typo
- unify the user name into "jonathan"
  • Loading branch information
yukitomoda committed Jan 5, 2024
commit 2edd9feee970e808139b7a76f7c6f5d7ec36894c
12 changes: 6 additions & 6 deletions book/shells_in_shells.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ While it's common to work in one directory, it can be handy to work in multiple
To get started, let's enter a directory:

```nu
/home/jonathant/Source/nushell(main)> enter ../book
/home/jonathant/Source/book(main)> ls
/home/jonathan/Source/nushell(main)> enter ../book
/home/jonathan/Source/book(main)> ls
────┬────────────────────┬──────┬────────┬─────────────
# │ name │ type │ size │ modified
────┼────────────────────┼──────┼────────┼─────────────
Expand Down Expand Up @@ -37,10 +37,10 @@ The [`shells`](/commands/docs/shells.md) command shows us there are three shells
We can jump between these shells with the [`n`](/commands/docs/n.md), [`p`](/commands/docs/p.md) and [`g`](/commands/docs/g.md) shortcuts, short for "next", "previous" and "goto":

```nu
/home/jonathant/Source/book(main)> n
/home/jonathant/Source/nushell(main)> p
/home/jonathant/Source/book(main)> g 2
/home/jonathant/Source/music(main)>
/home/jonathan/Source/book(main)> n
/home/jonathan/Source/nushell(main)> p
/home/jonathan/Source/book(main)> g 2
/home/jonathan/Source/music(main)>
```

We can see the directory changing, but we're always able to get back to a previous directory we were working on. This allows us to work in multiple directories in the same session.
Expand Down