Include Go binaries in $PATH
This commit is contained in:
parent
9432164bc3
commit
924e8c6551
1 changed files with 4 additions and 0 deletions
4
.profile
4
.profile
|
|
@ -30,6 +30,10 @@ if [ -d "$HOME/.local/bin" ] ; then
|
||||||
PATH="$HOME/.local/bin:$PATH"
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -d "$(go env GOBIN)" ] ; then
|
||||||
|
PATH="$(go env GOBIN):$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
# Install the git-sync script
|
# Install the git-sync script
|
||||||
if [ -d "$(systemd-path user-state-private)"/git-sync ] ; then
|
if [ -d "$(systemd-path user-state-private)"/git-sync ] ; then
|
||||||
PATH="$(systemd-path user-state-private)/git-sync:$PATH"
|
PATH="$(systemd-path user-state-private)/git-sync:$PATH"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue