z icon indicating copy to clipboard operation
z copied to clipboard

Tab completion stopped working Sonoma

Open ErikSom opened this issue 1 year ago • 7 comments

After upgrading my mac to 14.1.1 Sonoma, tab completion stopped working. I tried reinstalling it, but no success. Any ideas?

ErikSom avatar Nov 14 '23 07:11 ErikSom

Even Venture, it doesn't work

naoyanickf avatar Nov 16 '23 03:11 naoyanickf

yeah I can confirm the zsh tab completion method doesn't work in MacOS anymore. I imagine they've changed the Mac defaults to use a different method. I think we're using the "old and busted" style and not the "new hotness" - or it could be some other zsh config change or update that broke things.

I don't really have an ETA on a fix. while I'm begrudgingly starting to switch over to zsh in daily use, since it's the default in more and more places, I'm not an expert, and I'm not a huge fan of how configurable and complicated it is.

http://www.catb.org/~esr/writings/unix-koans/editor-wars.html

rupa avatar Dec 09 '23 22:12 rupa

a

nicanordlc avatar Feb 19 '24 21:02 nicanordlc

While wiki does mention this , in my case adding setopt complete_aliases to my .zshrc fixed the issue so z now works and autocomplete paths as expected.

$ echo $SHELL
/opt/homebrew/bin/zsh

pentago avatar Feb 27 '24 12:02 pentago

@pentago oh. it saved me. thank you! it works!

naoyanickf avatar Mar 01 '24 02:03 naoyanickf

@pentago i tested. however it is not same as before. this suggests only current directory's folders.

naoyanickf avatar Mar 01 '24 03:03 naoyanickf

Ah, youre looking into actual z completions? No clue, it didnt occur to me that was a thing. I dont care much tbh, I just use z as cd with some brains..

pentago avatar Mar 01 '24 09:03 pentago