Skip to content

Commit 3daa89a

Browse files
committed
vhs: added special with quotes
1 parent 1539ce0 commit 3daa89a

36 files changed

+954
-0
lines changed

.github/workflows/doc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
escape: {needs: build, uses: ./.github/workflows/vhs-template.yml, with: {topic: escape}}
4040
redirect: {needs: build, uses: ./.github/workflows/vhs-template.yml, with: {topic: redirect}}
4141
special: {needs: build, uses: ./.github/workflows/vhs-template.yml, with: {topic: special}}
42+
specialDoubleQuote: {needs: build, uses: ./.github/workflows/vhs-template.yml, with: {topic: specialDoubleQuote}}
43+
specialSingleQuote: {needs: build, uses: ./.github/workflows/vhs-template.yml, with: {topic: specialSingleQuote}}
4244

4345
doc:
4446
needs:
@@ -53,6 +55,8 @@ jobs:
5355
- escape
5456
- redirect
5557
- special
58+
- specialDoubleQuote
59+
- specialSingleQuote
5660
runs-on: ubuntu-latest
5761
container: ghcr.io/carapace-sh/mdbook
5862
steps:

docs/src/SUMMARY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,5 @@
129129
- [Escape](./development/vhs/escape.md)
130130
- [Redirect](./development/vhs/redirect.md)
131131
- [Special](./development/vhs/special.md)
132+
- [Special Double Quote](./development/vhs/specialDoubleQuote.md)
133+
- [Special Single Quote](./development/vhs/specialSingleQuote.md)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Special Double Quote
2+
3+
- bash
4+
![](./specialDoubleQuote/out/specialDoubleQuote.bash.gif)
5+
- elvish
6+
![](./specialDoubleQuote/out/specialDoubleQuote.elvish.gif)
7+
- fish
8+
![](./specialDoubleQuote/out/specialDoubleQuote.fish.gif)
9+
- nushell
10+
![](./specialDoubleQuote/out/specialDoubleQuote.nushell.gif)
11+
- oil
12+
![](./specialDoubleQuote/out/specialDoubleQuote.oil.gif)
13+
- powershell
14+
![](./specialDoubleQuote/out/specialDoubleQuote.powershell.gif)
15+
- xonsh
16+
![](./specialDoubleQuote/out/specialDoubleQuote.xonsh.gif)
17+
- zsh
18+
![](./specialDoubleQuote/out/specialDoubleQuote.zsh.gif)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
>
2+
3+
4+
5+
6+
7+
8+
────────────────────────────────────────────────────────────────────────────────
9+
> example special "p
10+
11+
12+
13+
14+
15+
16+
────────────────────────────────────────────────────────────────────────────────
17+
> example special "p
18+
19+
20+
21+
22+
23+
24+
────────────────────────────────────────────────────────────────────────────────
25+
> example special "p1 & < > ' \" { } \$ # | ? ( ) ; [ ] * \\ \$() \${} \` \
26+
`\`"
27+
28+
29+
30+
31+
32+
────────────────────────────────────────────────────────────────────────────────
33+
> example special "p1 & < > ' \" { } \$ # | ? ( ) ; [ ] * \\ \$() \${} \` \
34+
`\`"
35+
ok
36+
>
37+
38+
39+
40+
────────────────────────────────────────────────────────────────────────────────
41+
> example special "p1 & < > ' \" { } \$ # | ? ( ) ; [ ] * \\ \$() \${} \` \
42+
`\`"
43+
ok
44+
>
45+
46+
47+
48+
────────────────────────────────────────────────────────────────────────────────
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
>
2+
3+
4+
5+
6+
7+
8+
────────────────────────────────────────────────────────────────────────────────
9+
> example special "p
10+
11+
12+
13+
14+
15+
16+
────────────────────────────────────────────────────────────────────────────────
17+
> example special "p
18+
19+
20+
21+
22+
23+
24+
────────────────────────────────────────────────────────────────────────────────
25+
> example special "p1 & < > ' \" { } $ # | ? ( ) ; [ ] * \\ $() ${} ` ``"
26+
27+
28+
29+
30+
31+
32+
────────────────────────────────────────────────────────────────────────────────
33+
> example special "p1 & < > ' \" { } $ # | ? ( ) ; [ ] * \\ $() ${} ` ``"
34+
ok
35+
>
36+
37+
38+
39+
40+
────────────────────────────────────────────────────────────────────────────────
41+
> example special "p1 & < > ' \" { } $ # | ? ( ) ; [ ] * \\ $() ${} ` ``"
42+
ok
43+
>
44+
45+
46+
47+
48+
────────────────────────────────────────────────────────────────────────────────
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
>
2+
3+
4+
5+
6+
7+
8+
────────────────────────────────────────────────────────────────────────────────
9+
> example special "p
10+
11+
12+
13+
14+
15+
16+
────────────────────────────────────────────────────────────────────────────────
17+
> example special "p
18+
19+
20+
21+
22+
23+
24+
────────────────────────────────────────────────────────────────────────────────
25+
> example special "p1 & < > ' \" { } \$ # | ? ( ) ; [ ] * \\ \$() \${} ` ``
26+
"
27+
28+
29+
30+
31+
32+
────────────────────────────────────────────────────────────────────────────────
33+
> example special "p1 & < > ' \" { } \$ # | ? ( ) ; [ ] * \\ \$() \${} ` ``
34+
"
35+
ok
36+
>
37+
38+
39+
40+
────────────────────────────────────────────────────────────────────────────────
41+
> example special "p1 & < > ' \" { } \$ # | ? ( ) ; [ ] * \\ \$() \${} ` ``
42+
"
43+
ok
44+
>
45+
46+
47+
48+
────────────────────────────────────────────────────────────────────────────────
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
> >
2+
3+
4+
5+
6+
7+
8+
────────────────────────────────────────────────────────────────────────────────
9+
> > example special "p
10+
11+
12+
13+
14+
15+
16+
────────────────────────────────────────────────────────────────────────────────
17+
> > example special "p
18+
19+
20+
21+
22+
23+
24+
────────────────────────────────────────────────────────────────────────────────
25+
> > example special "p1 & < > ' \" { } $ # | ? ( ) ; [ ] * \\ $() ${} ` ``"
26+
27+
28+
29+
30+
31+
32+
────────────────────────────────────────────────────────────────────────────────
33+
> > example special "p1 & < > ' \" { } $ # | ? ( ) ; [ ] * \\ $() ${} ` ``"
34+
35+
ok
36+
> >
37+
38+
39+
40+
────────────────────────────────────────────────────────────────────────────────
41+
> > example special "p1 & < > ' \" { } $ # | ? ( ) ; [ ] * \\ $() ${} ` ``"
42+
43+
ok
44+
> >
45+
46+
47+
48+
────────────────────────────────────────────────────────────────────────────────
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
>
2+
3+
4+
5+
6+
7+
8+
────────────────────────────────────────────────────────────────────────────────
9+
> example special "p
10+
11+
12+
13+
14+
15+
16+
────────────────────────────────────────────────────────────────────────────────
17+
> example special "p
18+
19+
20+
21+
22+
23+
24+
────────────────────────────────────────────────────────────────────────────────
25+
> example special "p
26+
27+
28+
29+
30+
31+
32+
────────────────────────────────────────────────────────────────────────────────
33+
> example special "p
34+
>
35+
36+
37+
38+
39+
40+
────────────────────────────────────────────────────────────────────────────────
41+
> example special "p
42+
>
43+
44+
45+
46+
47+
48+
────────────────────────────────────────────────────────────────────────────────
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
>
2+
3+
4+
5+
6+
7+
8+
────────────────────────────────────────────────────────────────────────────────
9+
> example special "p
10+
11+
12+
13+
14+
15+
16+
────────────────────────────────────────────────────────────────────────────────
17+
> example special "p
18+
19+
20+
21+
22+
23+
24+
────────────────────────────────────────────────────────────────────────────────
25+
> example special "p
26+
27+
28+
29+
30+
31+
32+
────────────────────────────────────────────────────────────────────────────────
33+
> example special "p
34+
>>
35+
36+
37+
38+
39+
40+
────────────────────────────────────────────────────────────────────────────────
41+
> example special "p
42+
>>
43+
44+
45+
46+
47+
48+
────────────────────────────────────────────────────────────────────────────────
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
>
2+
3+
4+
5+
6+
7+
8+
────────────────────────────────────────────────────────────────────────────────
9+
> example special "p
10+
11+
12+
13+
14+
15+
16+
────────────────────────────────────────────────────────────────────────────────
17+
> example special "p
18+
19+
20+
21+
22+
23+
24+
────────────────────────────────────────────────────────────────────────────────
25+
> example special r'p1 & < > \' " { } $ # | ? ( ) ; [ ] * \ $() ${} ` ``'
26+
p1 & < > ' " { } $ # | ? ( ) ; [ ] * \ $() ${} ` ``
27+
28+
29+
30+
31+
32+
────────────────────────────────────────────────────────────────────────────────
33+
> example special r'p1 & < > \' " { } $ # | ? ( ) ; [ ] * \ $() ${} ` ``'
34+
35+
36+
37+
38+
39+
40+
────────────────────────────────────────────────────────────────────────────────
41+
> example special r'p1 & < > \' " { } $ # | ? ( ) ; [ ] * \ $() ${} ` ``'
42+
43+
44+
45+
46+
47+
48+
────────────────────────────────────────────────────────────────────────────────

0 commit comments

Comments
 (0)