zsh hides dotfiles from Tab completion unless the prefix starts with a dot
@matnvd▲ 0 net votes
A project folder that only contains a hidden .git directory makes ls<Tab> or cd<Tab> appear broken because there is nothing visible to complete. Adding setopt globdots to ~/.zshrc makes glob and completion include dotfiles. Check for an empty or dotfile-only directory before debugging the shell.