simplify brew env setup
This commit is contained in:
parent
1cf6b4b7f8
commit
eaf261946d
1 changed files with 11 additions and 7 deletions
|
@ -1,5 +1,3 @@
|
|||
source ${HOME}/.cargo/env
|
||||
|
||||
export GOPATH=~/build/go
|
||||
export PATH=~/bin/scripts:~/bin:/usr/local/bin:${PATH}
|
||||
|
||||
|
@ -27,6 +25,12 @@ if [ -d ${GOPATH}/bin ]; then
|
|||
export PATH=${GOPATH}/bin:${PATH}
|
||||
fi
|
||||
|
||||
source ${HOME}/.cargo/env
|
||||
|
||||
if type brew > /dev/null 2>&1; then
|
||||
eval $(brew shellenv)
|
||||
fi
|
||||
|
||||
# OS X stuff if availabe
|
||||
|
||||
# MacGPG2
|
||||
|
@ -34,10 +38,6 @@ if [ -d /usr/local/MacGPG2/bin/ ]; then
|
|||
export PATH=/usr/local/MacGPG2/bin/:$PATH
|
||||
fi
|
||||
|
||||
if type brew > /dev/null 2>&1; then
|
||||
PATH=$(brew --prefix coreutils)/libexec/gnubin:${PATH}
|
||||
fi
|
||||
|
||||
# Linux man-pages
|
||||
if [ -d /opt/man-pages ]; then
|
||||
export MANPATH=/opt/man-pages:${MANPATH}
|
||||
|
@ -49,7 +49,11 @@ else
|
|||
export EDITOR=vim
|
||||
fi
|
||||
|
||||
export RESTIC_REPOSITORY="sftp://172.23.157.2//srv/Data/Backup/Restic/Macbook"
|
||||
#export RESTIC_REPOSITORY="sftp://172.23.157.2//srv/Data/Backup/Restic/Macbook"
|
||||
export RESTIC_REPOSITORY="s3:http://172.23.157.2:9000/restic"
|
||||
|
||||
export AWS_ACCESS_KEY_ID=stv0g
|
||||
export AWS_SECRET_ACCESS_KEY=m1n10Password
|
||||
|
||||
export GCC_COLORS="error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue