Execute command on startup (-e)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 44.7k
- Forks
- 3.6k
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
- I am on the latest Hyper.app version
- I have searched the issues of this repo and believe that this is not a duplicate
Issue
I have checked the source code - clearly there is no support at this time for typical terminal command line options. I'm mainly interested in -e to execute a command on startup. This is supported by any terminal I've ever used on Linux... probably elsewhere.
For instance, in a startup script for the i3 window manager, I use this (which is currently quite impossible with hyper):
urxvt -name shell_s2_c_ranger -e python ~/git/ranger/ranger.py &
I'd be willing to submit a pull request for the feature. Would this be accepted? Am I missing something?
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 tracing Hyper's startup argument handling in the source code and determine how terminal commands are launched. Implement support for the requested -e option so a command and its arguments run on startup, then verify it with the existing command-line or startup checks; the issue names no specific test or file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100