Skip to content

Commit

Permalink
🔨 remove setup go & add export path go manual install
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdhika31 committed Nov 29, 2023
1 parent 0e7ad90 commit f16a9cd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
7 changes: 7 additions & 0 deletions go/export_path
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if ! command -v go >/dev/null; then
return
fi

# Download manual
export GOPATH=$HOME/go
export PATH="$GOPATH/bin:$PATH"
6 changes: 0 additions & 6 deletions go/setup.sh

This file was deleted.

5 changes: 4 additions & 1 deletion zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ export SAVEHIST=$HISTSIZE
. $HOME/dotfiles/bin/export_path

# Setup nvm path
. $HOME/dotfiles/nvm/export_path
. $HOME/dotfiles/nvm/export_path

# Setup go path
. $HOME/dotfiles/go/export_path

0 comments on commit f16a9cd

Please sign in to comment.