mathiasbynens / mathiasbynens/evil.sh
Mess with 'type' builtin
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 2.2k
- Forks
- 212
- PR merge metrics
- No merged PRs in 30d
Description
Currently type is not affected. This lets the user easily see what's wrong with their system. I'd suggest creating an alias for type that would override the builtin and print responses as if no changes have been made to anything, i.e. type grep should report grep as executable /path/to/grep rather than a shell function.
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 shell entry point responsible for the project's command overrides, then compare type grep in the modified and unmodified shell. Done means the overridden type reports the executable path for grep instead of revealing the shell function, without changing the underlying command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100