warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.04k stars 360 forks source link

Issues with z #4721

Closed lukaskretzschmer closed 5 months ago

lukaskretzschmer commented 5 months ago

Discord username (optional)

No response

Describe the bug

I am trying to use z but autocompletion takes over. image If I press space or anything it will autocomplete, so I am unable to use just z. https://github.com/rupa/z

To reproduce

Idk, activate it as a zsh plugin image

Expected behavior

To allow me to use z and not take over with autocompletion.

Screenshots

No response

Operating system

Linux

Operating system and version

PopOs latest

Shell Version

zsh

Current Warp version

No response

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

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

dannyneira commented 5 months ago

Hi @lukaskretzschmer Sorry about this, but z is on the list on incompatible tools. As a workaround, you can run zsh in a subshell and fall-back to plugins like z. Blocks and Warp completions will stop working, but you can use the other autocompletion plugins.

You can also disable just that of your dotfiles just for Warp by using this conditional statement:

# Bash and Zsh
if [[ $TERM_PROGRAM != "WarpTerminal" ]]; then
# > z autocompletion code goes here <
fi

https://docs.warp.dev/help/known-issues#list-of-incompatible-tools

Closing as this is a known issue we are tracking the ability to use shell based completions like z here #434

dannyneira commented 5 months ago

Duplicate of #434