X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=71e07dd70617c1f3501d827dbdef849b8c0c5ed5;hb=b1cde8ad485e24b740e769acd3b1c7b86b9a0115;hp=2d8680eceda8708a2e8f7224734a351ec86313b2;hpb=3c12563be13872d42cd9336c2f47cab6ec29f555;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 2d8680e..71e07dd 100644 --- a/zsh/rc +++ b/zsh/rc @@ -773,7 +773,9 @@ zstyle ':completion:*:*:-command-:*' ignored-patterns './config.*' # Don't complete unwanted files with Vim. Thanks to Nomexous in #zsh on # Freenode (2010-06-06 04:54 CEST). See below for a way to complete them. zstyle ':completion:*:*:vim:*:all-files' ignored-patterns \ - '*.aux' '*.log' '*.pdf' \ + '*.aux' '*.log' '*.pdf' '*.bbl' '*.blg' '*.out' '*-blx.bib' '*.run.xml' \ + '*.o' \ + '*.pyc' \ '*.class' # Provide a fallback completer which always completes files. Useful when Zsh's @@ -836,9 +838,11 @@ alias -g A1="| awk '{ print \$1 }'" alias -g A2="| awk '{ print \$2 }'" alias -g A3="| awk '{ print \$3 }'" alias -g G='| grep' +alias -g GB='| grep -vE "^Binary file .+ matches\$"' alias -g H='| head' alias -g P='| perl' alias -g S='| sort' +alias -g SL='| sort | less' alias -g T='| tail' alias -g U='| uniq'