zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
31.54k stars 1.87k forks source link

How do I stop it from expanding a variable ('$') that is set with export? Why won't it autocomplete a folder? #776

Open DKchemistry opened 10 months ago

DKchemistry commented 10 months ago

I have something export SCHRODINGER=/opt/schrodinger/suites2023-3 in my .zshrc.

If i type this out, you can see I have the option of selection some command or folder with more command

image

But if I press tab, it just does this:

image

I never want this behavior. I want to cycle through all my options, executibles or further directories.

Even weirder and more infuriating, is once it expands and I start typing the characters that start 'utilities', it doesn't do anything:

image

All of this used to be default behavior, then I installed oh-my-zsh and it all broke when I re-installed zsh-autocomplete. I can't seem to get back to how it used to work.

drowning-cat commented 3 days ago

I’m pretty sure this repository is not the right place to address your issue.

You could try using this binding:

bindkey '^I' complete-word

By default zsh uses:

bindkey '^I' expand-or-complete