I managed to configure zsh
such that it does not suggest LaTeX temporary files when I use autocompletion for emacs by adding this line to my ~/.zshrc
:
zstyle ':completion:*:*:emacs:*:*files' ignored-patterns '*?.aux' '*?.bbl' \
'*?.blg' '*?.out' '*?.log' '*?.toc' '*?.snm' '*?.nav' '*?.pdf' '*?.bak' '*\~'
Now zsh ignores all LaTeX temporary files when I request completions for emacs
.
How can I achieve the same for svn add
?
So far I have only found out that the completion for svn
is rather complicated and was even broken for some time. Just exchanging emacs
in the above example does not work because I need to affect the completion for the add
parameter of svn
.
Best Answer
This line will give you what you want:
From http://zsh.sourceforge.net/Doc/Release/Completion-System.html: