rupa / z

z - jump around
Do What The F*ck You Want To Public License
16.38k stars 1.17k forks source link

Does not show autocomplete in Warp terminal #319

Open theskillwithin opened 2 years ago

theskillwithin commented 2 years ago

When using Z with https://www.warp.dev/ it does not show the autocompleted path. however it still does still send you there after hitting enter, just the autocomplete isn't showed

Lockszmith-GH commented 2 years ago

Just another user here, but I'm guessing it's a wrap issue as they take over auto completion (They claim "A.I. Command Search" on their web site) - are you using bash or zsh?

The lines that take care of completion are the following for bash and zsh.

Does it change if you run these lines yourself again? (if yes, you can probably put it in the .profile file to have it load on login)

theskillwithin commented 2 years ago

I am using zsh. unfortunately running those lines doesn't seem to fix it

Lockszmith-GH commented 2 years ago

I see an answer in the Wrap issue you opened. Looks like they provided a solution. Did that solution work?

theskillwithin commented 2 years ago

@Lockszmith-GH unfortunately not, they actually just had a way to disable Z, and they put it on the list of things they don't currently support and is now a feature request

Lockszmith-GH commented 2 years ago

I thought that by disabling Warp support, it switches to the built in bash support. You lose the AI but get the basic functionality back.

infernalmaster commented 1 year ago

Looks like path autocomplete only works with some commands like ls, cat but it doesn't works with sudo, sudo ls, z