micro-editor / micro-editor/micro
improve detection of language/syntax for shebang /usr/bin/env -S
Open
Nobody has claimed this yet.
feature
syntax
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Description
#!/usr/bin/env -S fish --no-config
......................
-S allows to pass options/args to command, without -S everything after env is considered as command-name with spaces, and leads to 'fish --no-config' not found in PATH.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the language or syntax detection entry point that handles shebang lines, then reproduce the issue with the provided fish shebang using /usr/bin/env -S. Done means the file is detected as fish despite its command-line options, while the existing behavior without -S remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fish, go, shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100