add aws and go config

This commit is contained in:
Tatsuro Furusawa 2022-07-06 17:21:00 +09:00
parent f9aa6f1c81
commit e35c37bd72

View file

@ -27,12 +27,18 @@ if command -v pyenv > /dev/null 2>&1; then
eval "$(pyenv init --path)"
fi
if command -v aws > /dev/null 2>&1; then
complete -C '/usr/local/bin/aws_completer' aws
fi
export PATH=$PATH:~/bin
GOPATH=$(go env GOPATH)
export PATH=$GOPATH/bin:$PATH
export GOPATH=$GOPATH
export GO111MODULE="on"
if command -v go > /dev/null 2>&1; then
GOPATH=$(go env GOPATH)
export PATH=$GOPATH/bin:$PATH
export GOPATH=$GOPATH
export GO111MODULE="on"
fi
# ヒストリに追加されるコマンド行が古いものと同じなら古いものを削除
setopt hist_ignore_all_dups
@ -91,6 +97,8 @@ if ! ssh-add -l > /dev/null 2>&1; then
ssh-add --apple-use-keychain
fi
autoload bashcompinit && bashcompinit
# load local settings
LOCAL_FILE="${HOME}/.zshrc.local"
if [ -e $LOCAL_FILE ]; then