mirror of
https://github.com/shokinn/.files.git
synced 2025-01-19 05:22:25 +00:00
include go binary path into PATH when existing
This commit is contained in:
parent
a866f77373
commit
c0027783db
|
@ -17,6 +17,8 @@ export ANSIBLE_NOCOWS=1
|
||||||
# Include ~/.local/bin to PATH
|
# Include ~/.local/bin to PATH
|
||||||
[[ -d "{{@@ env['HOME'] @@}}/.local/bin" ]] && export PATH="{{@@ env['HOME'] @@}}/.local/bin:${PATH}"
|
[[ -d "{{@@ env['HOME'] @@}}/.local/bin" ]] && export PATH="{{@@ env['HOME'] @@}}/.local/bin:${PATH}"
|
||||||
|
|
||||||
|
# Include $(go env GOPATH) to PATH
|
||||||
|
[[ $(command -v go) ]] && [[ -d "$(go env GOPATH)/bin" ]] && export PATH="$(go env GOPATH)/bin:${PATH}"
|
||||||
|
|
||||||
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' or profile == 'ymir' @@%}
|
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' or profile == 'ymir' @@%}
|
||||||
# Connect to windows ssh pageant
|
# Connect to windows ssh pageant
|
||||||
|
|
Loading…
Reference in a new issue