Open castdrian opened 5 months ago
Hi @castdrian Sorry to hear about this. You can workaround by running zsh
are you mentioned.
You can also try disabling the sudo plugin parts of your dotfiles just for Warp by using this conditional statement:
# Bash and Zsh
if [[ $TERM_PROGRAM != "WarpTerminal" ]]; then
# > What you want to disable here <
plugins=(...sudo)
fi
This is a related issue we're tracking here. https://github.com/warpdotdev/Warp/issues/4708
Dupe Check
Describe the bug
enabling the sudo plugin that comes with ohmyzsh does not work if you run
exec zsh
then it works fine, but a normal warp session seems to ignore the double backspaceTo reproduce
add
sudo
to the plugins list in the zsh config fileExpected behavior
double pressing esc should add sudo to the current command or pop in the last used command prefixed with sudo
Screenshots
No response
Operating system
MacOS
Operating system and version
14.5
Shell Version
zsh 5.9 (x86_64-apple-darwin23.0)
Current Warp version
v0.2024.06.18.08.02.stable_03
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
running exec zsh makes it work magically
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