Add cwd to redux state
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 44.7k
- Forks
- 3.6k
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
Should be added to the current session PID session.session[pid].cwd. There is already some code in place for getting the cwd from hterm. For example the path in hyper's title.
Would allow plugins like https://github.com/hharnisc/hypercwd to not execute a command, which will be faster.
Will also allow for cross platform consistency (hypercwd doesn't run on windows).
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 the Redux session state around session.session[pid] and the existing hterm code that obtains cwd for Hyper's title. The change is done when cwd is populated in that state and plugins can read it without executing a command, including on Windows; verify the existing title behavior remains consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100