Skip to content

Commit c2c02d5

Browse files
committed
update snippets
1 parent 5e730da commit c2c02d5

36 files changed

+228
-226
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
> cd new_directory
1+
cd new_directory
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
> ./new_directory
1+
./new_directory
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Change to the parent directory
2-
> cd ..
2+
cd ..
33
# or
4-
> ..
4+
..
55
# Go up two levels (parent's parent)
6-
> cd ...
6+
cd ...
77
# or
8-
> ...
8+
...
99
# Go up three levels (parent of parent's parent)
10-
> cd ....
11-
# Etc.
10+
cd ....
11+
# Etc.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
> cd ../sibling
1+
cd ../sibling
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
> cd nushell
2-
nushell> cargo build --workspace; cargo run
1+
cd nushell
2+
# ./nushell
3+
cargo build --workspace; cargo run
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nushell> cargo build --release --workspace; cargo run --release
1+
cargo build --release --workspace; cargo run --release
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
> git clone https://github.com/nushell/nushell.git
2-
> cd nushell
3-
nushell> cargo install --path . --locked
1+
git clone https://github.com/nushell/nushell.git
2+
cd nushell
3+
# ./nushell
4+
cargo install --path . --locked
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
> cargo install nu --locked
1+
cargo install nu --locked
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
> git clone https://github.com/nushell/nushell.git
1+
git clone https://github.com/nushell/nushell.git
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
> nu
2-
C:\Users\user>
1+
nu
2+
# => C:\Users\user>

0 commit comments

Comments
 (0)