Add go bin path

This commit is contained in:
Daniel Lynn 2021-10-13 11:42:24 -05:00
parent a5706b6e73
commit 2de2c465f9
Signed by: daniel
GPG Key ID: 655C07B9B3DDC88B

6
zshenv
View File

@ -17,6 +17,12 @@ if (( $+commands[ruby] )); then
[[ -d "$gem_bin_path" ]] && path+=("$gem_bin_path")
fi
# Setup go paths
if (( $+commands[go] )); then
local go_bin_path="$(go env GOPATH)/bin"
[[ -d "$go_bin_path" ]] && path+=("$go_bin_path")
fi
if (( $+commands[fd] )); then
export FZF_DEFAULT_COMMAND="fd --type f"
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"