The `hr` command on macOS displays differently
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 65.1k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
Dupe Check
- I have searched Warp bugs and there are no duplicates
Describe the bug
I am using the hr command on macOS, when using it in Warp I get different output compared to the standard terminal
To reproduce
- Start Warp
- Type
hr -press enter - Type 'hr - #` press enter
Expected behavior
I expect to see the following output:
me@My-MacBook-Pro ~ % hr -
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
me@My-MacBook-Pro ~ % hr - #
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#################################################################################################################################################################################################################################################
me@My-MacBook-Pro ~ %
Screenshots
Unfortunately I get the following output, the hash symbol is ignored
Operating system
MacOS
Operating system and version
Sonoma 14.5
Shell Version
zsh 5.9 (x86_64-apple-darwin23.0)
Current Warp version
v0.2024.05.28.08.02.stable_00
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
I use hr - # as part of a longer series of commands all put together with && in an alias, the hr comes first and the other commands don't execute in Warp as they do with the standard terminal, so I started to unpick and this seems to be the key problem.
Does this block you from using Warp daily?
No
Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)
Yes, this I confirmed this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
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.
Research direction
Reproduce the issue in Warp on macOS with zsh 5.9 using hr - and hr - #, then compare both outputs with a standard terminal. Trace Warp's handling of these commands and verify that the hash line renders as expected and that the subsequent commands in a chained alias execute normally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, zsh
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100