-
Notifications
You must be signed in to change notification settings - Fork 30.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
leverage Fig's shell parser, add
git
spec (#240001)
Co-authored-by: Daniel Imms <[email protected]> Co-authored-by: Daniel Imms <[email protected]>
- Loading branch information
1 parent
18a64b3
commit 6dbde2a
Showing
42 changed files
with
19,420 additions
and
1,447 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
extensions/terminal-suggest/fixtures/shell-parser/basic/input.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
### Case 1 | ||
a b\\ c | ||
|
||
### Case 2 | ||
a "b" | ||
|
||
### Case 3 | ||
a 'b' | ||
|
||
### Case 4 | ||
a $'b' | ||
|
||
### Case 5 | ||
a $commit | ||
|
||
### Case 6 | ||
a $$ | ||
|
||
### Case 7 | ||
a $((b)) | ||
|
||
### Case 8 | ||
a $(b) | ||
|
||
### Case 9 | ||
a \`b\` | ||
|
||
### Case 10 | ||
a $(\`b\`) |
Oops, something went wrong.