commit 3779a81ee60e1d2e88d2a47f77e027cbbd7c4cac
parent aa4a783ea7a2273847b8550144ab998606d67131
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sun, 2 May 2021 12:19:13 +0200
shell: add go to path
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/shell/paths b/shell/paths
@@ -21,6 +21,7 @@
[ -d "$XDG_DATA_HOME/perl5/bin" ] && [ -n "${PATH##*"$XDG_DATA_HOME/perl5/bin"*}" ] && PATH="$XDG_DATA_HOME/perl5/bin:$PATH"
[ -d "$HOME/.jenv/bin" ] && [ -n "${PATH##*"$HOME/.jenv/bin"*}" ] && PATH="$HOME/.jenv/bin:$PATH"
[ -d "$XDG_DATA_HOME/cargo/bin" ] && [ -n "${PATH##*"$XDG_DATA_HOME/cargo/bin"*}" ] && PATH="$XDG_DATA_HOME/cargo/bin:$PATH"
+[ -d "/usr/local/go/bin" ] || [ -L "/usr/local/go/bin" ] && [ -n "${PATH##*"/usr/local/go/bin"*}" ] && PATH="/usr/local/go/bin:$PATH"
command -v rbenv 1>/dev/null 2>&1 && eval "$(rbenv init -)"
command -v jenv 1>/dev/null 2>&1 && eval "$(jenv init -)"