mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2024-06-15 10:15:07 +02:00
add aws and go config
This commit is contained in:
parent
f9aa6f1c81
commit
e35c37bd72
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue