ansible-role--bashrc/files/bashrc.d/05-go.sh
@@@No user configured@@@ 0609db4265 Add bashrc module.
2015-11-17 12:07:59 +01:00

12 lines
176 B
Bash

#!/bin/sh
##
# Set up Go environment
#
if hash go > /dev/null 2>&1; then
if [ -d "$HOME/bin" ]; then
export GOPATH="$HOME/src/Go"
export PATH="$GOPATH/bin:$PATH"
fi
fi