diff options
author | gxlin <[email protected]> | 2021-08-20 23:18:08 +0800 |
---|---|---|
committer | gxlin <[email protected]> | 2021-08-20 23:18:08 +0800 |
commit | 455bc26edb8bf1e2512cd4739eca82a6b528e9c5 (patch) | |
tree | dbb26f50ef468eb72495c2bb1ab51a638fa54c05 /.path | |
parent | 558d3547645636c67bbb2d18b0dfff35f9d437c6 (diff) | |
download | dotfiles-455bc26edb8bf1e2512cd4739eca82a6b528e9c5.tar.gz dotfiles-455bc26edb8bf1e2512cd4739eca82a6b528e9c5.tar.bz2 dotfiles-455bc26edb8bf1e2512cd4739eca82a6b528e9c5.zip |
Update config
Diffstat (limited to '.path')
-rwxr-xr-x | .path | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +[ -d $HOME/bin ] && export PATH=$PATH:$HOME/bin + +if command -v go &> /dev/null +then + export GOPATH=$(go env GOPATH) + export PATH=$PATH:$(go env GOPATH)/bin +fi |