Add GOPATH, fix grep aliases
This commit is contained in:
parent
94cd7cccb3
commit
2af0b3cf11
2
vimrc
2
vimrc
|
@ -16,7 +16,7 @@ set smarttab
|
|||
set encoding=utf-8
|
||||
set nocompatible
|
||||
set t_Co=256
|
||||
set background=light
|
||||
set background=dark
|
||||
set hidden
|
||||
set history=100
|
||||
set nowrap
|
||||
|
|
8
zshrc
8
zshrc
|
@ -103,7 +103,11 @@ HISTFILE=~/.zsh-history
|
|||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
|
||||
# Go configuration (is this still needed with go mod?)
|
||||
export GOPATH=$HOME/go
|
||||
|
||||
# set PATHs (highest priority last)
|
||||
export PATH=$HOME/go/bin:$PATH
|
||||
export PATH=$HOME/local/bin:$PATH
|
||||
export PATH=$HOME/bin:$PATH
|
||||
|
||||
|
@ -122,9 +126,9 @@ git config --global alias.br branch
|
|||
# Other aliases
|
||||
|
||||
# recursive grep with line numbers and colour, ignoring binary files:
|
||||
alias gnr="grep -nR -I --exclude-dir='.*' --color"
|
||||
alias gnr="grep -nR -I --color"
|
||||
# same but case-insensitive:
|
||||
alias gnri="grep -nRi -I --exclude-dir='.*' --color"
|
||||
alias gnri="grep -nRi -I --color"
|
||||
|
||||
# Postgres default user:
|
||||
export PGUSER=postgres
|
||||
|
|
Loading…
Reference in New Issue