ansible-role--bashrc/files/bashrc.d/50-dev-go.sh
@@@No user configured@@@ fc5f81307c Reorganize bash role.
2015-11-18 00:57:38 +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