Add go bin path
This commit is contained in:
parent
a5706b6e73
commit
2de2c465f9
6
zshenv
6
zshenv
@ -17,6 +17,12 @@ if (( $+commands[ruby] )); then
|
|||||||
[[ -d "$gem_bin_path" ]] && path+=("$gem_bin_path")
|
[[ -d "$gem_bin_path" ]] && path+=("$gem_bin_path")
|
||||||
fi
|
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
|
if (( $+commands[fd] )); then
|
||||||
export FZF_DEFAULT_COMMAND="fd --type f"
|
export FZF_DEFAULT_COMMAND="fd --type f"
|
||||||
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user