Setup for go development
This commit is contained in:
parent
391c619d1b
commit
0b2520274e
2 changed files with 4 additions and 0 deletions
2
vimrc
2
vimrc
|
@ -28,6 +28,8 @@ Plug 'tpope/vim-rails'
|
|||
Plug 'vim-ruby/vim-ruby'
|
||||
|
||||
" Testing
|
||||
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
||||
" Plug 'dense-analysis/ale'
|
||||
" Plug 'w0rp/ale'
|
||||
|
||||
call plug#end()
|
||||
|
|
2
zshenv
2
zshenv
|
@ -4,6 +4,7 @@ RBENV_PATH="$HOME/.rbenv/bin"
|
|||
GNU_TOOLS_PATH="/usr/local/opt/coreutils/libexec/gnubin"
|
||||
GNU_TOOLS_MAN_PATH="/usr/local/opt/coreutils/libexec/gnuman"
|
||||
APACHE_MAVEN_PATH="$HOME/bin/apache-maven-3.3.9/bin"
|
||||
GO_HOME_PATH="$HOME/go-workspace/bin"
|
||||
|
||||
if [[ "$OSTYPE" == darwin* ]]; then
|
||||
GO_DIR="/usr/local/opt/go/libexec"
|
||||
|
@ -24,6 +25,7 @@ fi
|
|||
[[ -d "$APACHE_MAVEN_PATH" ]] && PATH="$APACHE_MAVEN_PATH:$PATH"
|
||||
[[ -d "$GO_DIR" ]] && PATH="$GO_DIR:$PATH"
|
||||
[[ -d "$LOCAL_SBIN_PATH" ]] && PATH="$LOCAL_SBIN_PATH:$PATH"
|
||||
[[ -d "$GO_HOME_PATH" ]] && PATH="$GO_HOME_PATH:$PATH"
|
||||
|
||||
# MAN
|
||||
[[ -d "$GNU_TOOLS_MAN_PATH" ]] && MANPATH="$GNU_TOOLS_MAN_PATH:$MANPATH"
|
||||
|
|
Loading…
Reference in a new issue