Skip to content

Commit

Permalink
Merge pull request #1102 from carapace-sh/vhs-special-quoted
Browse files Browse the repository at this point in the history
vhs: added special with quotes
  • Loading branch information
rsteube authored Jan 20, 2025
2 parents 1539ce0 + 3daa89a commit 55a9678
Show file tree
Hide file tree
Showing 36 changed files with 954 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
escape: {needs: build, uses: ./.github/workflows/vhs-template.yml, with: {topic: escape}}
redirect: {needs: build, uses: ./.github/workflows/vhs-template.yml, with: {topic: redirect}}
special: {needs: build, uses: ./.github/workflows/vhs-template.yml, with: {topic: special}}
specialDoubleQuote: {needs: build, uses: ./.github/workflows/vhs-template.yml, with: {topic: specialDoubleQuote}}
specialSingleQuote: {needs: build, uses: ./.github/workflows/vhs-template.yml, with: {topic: specialSingleQuote}}

doc:
needs:
Expand All @@ -53,6 +55,8 @@ jobs:
- escape
- redirect
- special
- specialDoubleQuote
- specialSingleQuote
runs-on: ubuntu-latest
container: ghcr.io/carapace-sh/mdbook
steps:
Expand Down
2 changes: 2 additions & 0 deletions docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,5 @@
- [Escape](./development/vhs/escape.md)
- [Redirect](./development/vhs/redirect.md)
- [Special](./development/vhs/special.md)
- [Special Double Quote](./development/vhs/specialDoubleQuote.md)
- [Special Single Quote](./development/vhs/specialSingleQuote.md)
18 changes: 18 additions & 0 deletions docs/src/development/vhs/specialDoubleQuote.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Special Double Quote

- bash
![](./specialDoubleQuote/out/specialDoubleQuote.bash.gif)
- elvish
![](./specialDoubleQuote/out/specialDoubleQuote.elvish.gif)
- fish
![](./specialDoubleQuote/out/specialDoubleQuote.fish.gif)
- nushell
![](./specialDoubleQuote/out/specialDoubleQuote.nushell.gif)
- oil
![](./specialDoubleQuote/out/specialDoubleQuote.oil.gif)
- powershell
![](./specialDoubleQuote/out/specialDoubleQuote.powershell.gif)
- xonsh
![](./specialDoubleQuote/out/specialDoubleQuote.xonsh.gif)
- zsh
![](./specialDoubleQuote/out/specialDoubleQuote.zsh.gif)
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
>






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special "p1 & < > ' \" { } \$ # | ? ( ) ; [ ] * \\ \$() \${} \` \
`\`"





────────────────────────────────────────────────────────────────────────────────
> example special "p1 & < > ' \" { } \$ # | ? ( ) ; [ ] * \\ \$() \${} \` \
`\`"
ok
>



────────────────────────────────────────────────────────────────────────────────
> example special "p1 & < > ' \" { } \$ # | ? ( ) ; [ ] * \\ \$() \${} \` \
`\`"
ok
>



────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
>






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special "p1 & < > ' \" { } $ # | ? ( ) ; [ ] * \\ $() ${} ` ``"






────────────────────────────────────────────────────────────────────────────────
> example special "p1 & < > ' \" { } $ # | ? ( ) ; [ ] * \\ $() ${} ` ``"
ok
>




────────────────────────────────────────────────────────────────────────────────
> example special "p1 & < > ' \" { } $ # | ? ( ) ; [ ] * \\ $() ${} ` ``"
ok
>




────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
>






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special "p1 & < > ' \" { } \$ # | ? ( ) ; [ ] * \\ \$() \${} ` ``
"





────────────────────────────────────────────────────────────────────────────────
> example special "p1 & < > ' \" { } \$ # | ? ( ) ; [ ] * \\ \$() \${} ` ``
"
ok
>



────────────────────────────────────────────────────────────────────────────────
> example special "p1 & < > ' \" { } \$ # | ? ( ) ; [ ] * \\ \$() \${} ` ``
"
ok
>



────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
> >






────────────────────────────────────────────────────────────────────────────────
> > example special "p






────────────────────────────────────────────────────────────────────────────────
> > example special "p






────────────────────────────────────────────────────────────────────────────────
> > example special "p1 & < > ' \" { } $ # | ? ( ) ; [ ] * \\ $() ${} ` ``"






────────────────────────────────────────────────────────────────────────────────
> > example special "p1 & < > ' \" { } $ # | ? ( ) ; [ ] * \\ $() ${} ` ``"

ok
> >



────────────────────────────────────────────────────────────────────────────────
> > example special "p1 & < > ' \" { } $ # | ? ( ) ; [ ] * \\ $() ${} ` ``"

ok
> >



────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
>






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special "p
>





────────────────────────────────────────────────────────────────────────────────
> example special "p
>





────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
>






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special "p
>>





────────────────────────────────────────────────────────────────────────────────
> example special "p
>>





────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
>






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special "p






────────────────────────────────────────────────────────────────────────────────
> example special r'p1 & < > \' " { } $ # | ? ( ) ; [ ] * \ $() ${} ` ``'
p1 & < > ' " { } $ # | ? ( ) ; [ ] * \ $() ${} ` ``





────────────────────────────────────────────────────────────────────────────────
> example special r'p1 & < > \' " { } $ # | ? ( ) ; [ ] * \ $() ${} ` ``'






────────────────────────────────────────────────────────────────────────────────
> example special r'p1 & < > \' " { } $ # | ? ( ) ; [ ] * \ $() ${} ` ``'






────────────────────────────────────────────────────────────────────────────────
Loading

0 comments on commit 55a9678

Please sign in to comment.