Skip to content

Commit

Permalink
add GOBIN to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
gelocraft committed Dec 11, 2024
1 parent b6f4d69 commit b76a6b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zsh/.zshenv
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ SAVEHIST=1000
HISTFILE="$HOME/.zsh_history"
SHELL="$ZSH_PATH"
GOPATH="$HOME/.local/share/go"
GOBIN="$GOPATH/bin"
XDG_CONFIG_HOME="$HOME/.config"
XDG_DATA_HOME="$HOME/.local/share"
STARSHIP_CONFIG="$HOME/.dotfiles/starship/starship.toml"
Expand All @@ -20,10 +21,10 @@ FZF_CTRL_T_OPTS="--border-label ' relative files '"
FZF_ALT_C_OPTS="--border-label ' relative directories '"
FZF_DEFAULT_OPTS_FILE="$HOME/.dotfiles/fzf/.fzfrc"

[ -n "$GOBIN" ] && PATH=$PATH:$GOBIN
[ -d ~/.cargo ] && PATH=$PATH:$HOME/.cargo/bin
[ -d /usr/local/go/bin ] && PATH=$PATH:/usr/local/go/bin
[ -d ~/.local/bin ] && PATH=$PATH:$HOME/.local/bin
[ -d ~/.dotfiles/handy-scripts/bin ] && PATH=$PATH:$HOME/.dotfiles/handy-scripts/bin
[ -d ~/.language-servers/bin ] && PATH=$PATH:$HOME/.language-servers/bin

export PATH SHELL EDITOR GOPATH KEYTIMEOUT FZF_DEFAULT_OPTS_FILE STARSHIP_CONFIG XDG_CONFIG_HOME XDG_DATA_HOME NVIM_APPNAME

0 comments on commit b76a6b9

Please sign in to comment.