views:

569

answers:

1

I have a problem with the zsh tab completion: After running:

autoload -U compinit compinit

Git tab completion for files does not work any more. For example if I type git add my_f to complete my_file, nothing happens. The zsh git completion only seems to work for git branches and tags.

Without the compinit stuff, git file completion works, but of course I'm missing out all the fancy branch completion stuff.

So... Is there a way to make git file completion AND git branch completion possible at the same time in zsh? This would really help me a lot.

-- Regards Ralph