This commit is contained in:
jay
2021-11-27 01:21:10 +08:00
parent b0cfcc41ac
commit 24a4944aa1
3 changed files with 174 additions and 8 deletions
+13
View File
@@ -22,3 +22,16 @@ else
start_agent;
fi
export GOPATH="$HOME/go"
export GOROOT="$HOME/apps/go"
export NODE_ROOT="$HOME/apps/node"
export PATH="$GOPATH/bin:$GOROOT/bin:$NODE_ROOT/bin:$PATH"
if [ -f "$HOME/.cargo/env" ]; then
. "$HOME/.cargo/env"
fi
if [ -d "$HOME/bin" ]; then
export PATH="$HOME/bin:$PATH"
fi