Replace ag alias with ~/.agignore file

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-07-19 11:14:08 +02:00
parent 355413e622
commit ff9333b46e
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E
2 changed files with 1 additions and 1 deletions

1
.agignore Normal file
View File

@ -0,0 +1 @@
vendor/*

View File

@ -26,7 +26,6 @@ bindkey '^[[1;9C' forward-word
bindkey '^[[1;9D' backward-word
## Aliases
alias ag='/usr/bin/ag --ignore-dir=vendor'
alias alpine='docker run --rm -ti alpine /bin/sh'
alias gometalinter='gometalinter --enable-all -D aligncheck -D errcheck -D lll --cyclo-over=15 -e bindata.go --vendor'
alias :q='exit'