diff --git a/.profile b/.profile index 8f6ff8d..844b460 100644 --- a/.profile +++ b/.profile @@ -15,3 +15,8 @@ export PATH="/opt/local/bin:/opt/local/sbin:$PATH" # PATH="/Library/Frameworks/Python.framework/Versions/3.11/bin:$PATH" # export PATH +# Setting go environment +export GOPATH=$HOME/dev/go +export GOROOT="$(brew --prefix golang)/libexec" +export PATH="$PATH:$GOPATH/bin:$GOROOT/bin" + diff --git a/deploy.sh b/deploy.sh index dfa896a..be4dcfd 100644 --- a/deploy.sh +++ b/deploy.sh @@ -78,7 +78,7 @@ move_profile_file () { } install_packages_brew () { - declare -a packages=("cmake" "tree" "wget" "jq" "ripgrep" "watch" "tmux" "fish" "lua-language-server" "node@18" "gh") + declare -a packages=("cmake" "tree" "wget" "jq" "ripgrep" "watch" "tmux" "fish" "lua-language-server" "node@18" "golang" "gh") echo "Installing ${#packages[@]} packages from brew" brew install --quiet "${packages[@]}" @@ -121,5 +121,3 @@ get_input_df_true "Move config files to $HOME/.config? (Y/n) " move_config_files echo "Configurating fish shell" configure_fish - -