Autosuggested fix for cd ~/something
path creates a mess
#5654
Labels
Bugs
Bugs, Hangs, Crash, and Freezes
cd ~/something
path creates a mess
#5654
Dupe Check
Describe the bug
If you're in a directory (say
~/foo
, and try tocd
to a nonexistent tilde path, likecd ~/bar
, Warp's generated suggestion single-quotes the path and generates an actual directory named~
.Example:
I am in
~/Code/ACRadioPlayer/Example
and type acd
to a non-existent directory:The suggestion is
If this is executed, the result is the creation of and
cd
to~/Code/ACRadioPlayer/Example/~/Code/azuracast-notifier
, which is definitely wrong and a pain in the butt to clean up.To reproduce
Accept the suggestion, and end up in
Expected behavior
The generated command should be
with no quotes around the path.
Screenshots
https://imgur.com/a/QJBH7rs
Operating system
MacOS
Operating system and version
Sequoia 15.2
Shell Version
zsh 5.9 (arm64-apple-darwin24.0)
Current Warp version
v0.2024.12.18.08.02.stable_05
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
Unsure
Additional context
No response
Does this block you from using Warp daily?
No
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
The text was updated successfully, but these errors were encountered: