Update syntax/error highlighting after `rehash`/`hash -r`
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- bash, rust, zsh
- Domain
- cli, developer-experience
Research direction
No files, tests, or entry points are identified in the issue. Start by locating Warp's shell integration and the code responsible for command autocompletion and error underlining, then trace how hash -r in bash and rehash in zsh are handled. Done means newly installed binaries become available without opening a new tab, window, or pane while preserving terminal history.
Written by the indexing model from the issue text.
Description
Discord username (optional)
0x766c6164 #7434
Describe the solution you'd like?
As the docs mention,
>Newly installed apps will trigger error underlining until you open a new Warp session (Window/Tab/Pane).
However, there are many ways to update the autocompletion in shells, for example `hash -r` in bash, and `rehash` in zsh. While these commands run successfully cross-term, with Warp we're required to open a new tab/window/pane. I am one of the users that try to keep the work in as few tabs as possible - if I install a package or put something in `$PATH`, I would like to be able to continue my workflow without having to close everything (losing history).
Is your feature request related to a problem? Please describe.
I don't like having to lose terminal history (commands & output, precisely) just to be able to have tab autocompletion available for new binaries.
Additional context
How important is this feature to you?
3
Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087
None
- Dominant language
- Rust
- Stars
- 65.1k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Contributor guide
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.
More from warpdotdev/warp
-
area:agent area:window-tabs-panes enhancement needs-info os:mac repro:high triaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
warpdotdev/warp#15768 · 3 comments · 1 reaction ·
-
bug factory-auto-implement factory:revops-factory os:mac ready-to-implement repro:high triaged warp:auto-triage-review
Difficulty 1/5 Under an hour Newbie friendliness 90/100
warpdotdev/warp#15697 · 2 comments ·
-
area:editor-notebooks bug repro:high triaged warp:auto-triage-review warp:tracking
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
warpdotdev/warp#13949 · 3 comments ·
-
markdown_parser: unclosed `<u>` markers pair via the emphasis algorithm and delete surrounding text Openarea:editor-notebooks bug ready-to-implement repro:high triaged warp:auto-triage-review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
warpdotdev/warp#12863 · 2 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
warpdotdev/warp#11969 · 2 comments ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100