Rust and terraform handy bits

This commit is contained in:
Dan Buch 2018-03-23 22:17:25 -04:00
parent 1948ab154b
commit 62619a1f7c
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7
2 changed files with 9 additions and 1 deletions

3
vimrc
View File

@ -26,6 +26,9 @@ map ,w :%s/ *$//<CR>
let g:go_fmt_command = "goimports"
let g:airline_powerline_fonts = 1
let g:rustfmt_autosave = 1
let g:terraform_align = 1
let g:terraform_fmt_on_save = 1
call pathogen#infect()

7
zshrc
View File

@ -82,6 +82,7 @@ path=(
$HOME/bin
$HOME/go/bin
$HOME/.local/bin
$HOME/.cargo/bin
$HOME/.rbenv/bin
$HOME/.rbenv/shims
$HOME/.phpenv/bin
@ -107,7 +108,11 @@ if which phpenv >/dev/null; then
eval "$(phpenv init - 2>/dev/null)"
fi
eval "$(gimme 1.9.2)" 2>/dev/null
if [[ -f ~/.cargo/env ]]; then
source ~/.cargo/env
fi
eval "$(gimme '1.9.3')" 2>/dev/null
export GOPATH="$HOME/go"
CDPATH="$HOME/code:$HOME/src:$HOME/Development/src:$HOME/repos"