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 bindkey '^[[1;9D' backward-word
## Aliases ## Aliases
alias ag='/usr/bin/ag --ignore-dir=vendor'
alias alpine='docker run --rm -ti alpine /bin/sh' 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 gometalinter='gometalinter --enable-all -D aligncheck -D errcheck -D lll --cyclo-over=15 -e bindata.go --vendor'
alias :q='exit' alias :q='exit'