Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Ignored .pyc and Vim temporary files in ZSH autocompletion.

  • Loading branch information...
1 parent 1685f49 commit adf240c32968a3453f2a2ea697f88f2f5c5ab4c9 @zsiciarz committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 zshrc
5 zshrc
@@ -33,6 +33,11 @@ plugins=(django git pip python vi-mode vundle)
source $ZSH/
+# ignore pyc and temporary files during autocompletion, except for ls and rm
+zstyle ':completion:*:(all-|)files' ignored-patterns "(*.pyc|*.swp|*~)"
+zstyle ':completion:*:ls:*:(all-|)files' ignored-patterns
+zstyle ':completion:*:rm:*:(all-|)files' ignored-patterns
# 256 colors in terminal to make Solarized look better in Vim
export TERM=xterm-256color

0 comments on commit adf240c

Please sign in to comment.
Something went wrong with that request. Please try again.