mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 13:22:25 +00:00
add getopt to path for my macs
This commit is contained in:
parent
2ce072c6a4
commit
59d47138ff
|
@ -17,7 +17,10 @@ export ANSIBLE_NOCOWS=1
|
|||
# Include ~/.local/bin to PATH
|
||||
[[ -d "{{@@ env['HOME'] @@}}/.local/bin" ]] && export PATH="{{@@ env['HOME'] @@}}/.local/bin:${PATH}"
|
||||
|
||||
# Include $(go env GOPATH) to PATH
|
||||
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}# Include /opt/homebrew/opt/gnu-getopt/bin to PATH
|
||||
[[ -d "/opt/homebrew/opt/gnu-getopt/bin" ]] && export PATH="/opt/homebrew/opt/gnu-getopt/bin:${PATH}"
|
||||
|
||||
{%@@ endif @@%}# 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' @@%}
|
||||
|
|
|
@ -194,6 +194,9 @@ else
|
|||
local brew_path="/opt/homebrew/bin"
|
||||
fi
|
||||
export PATH="${brew_path}:${PATH}"
|
||||
|
||||
# Include /opt/homebrew/opt/gnu-getopt/bin to PATH
|
||||
[[ -d "/opt/homebrew/opt/gnu-getopt/bin" ]] && export PATH="/opt/homebrew/opt/gnu-getopt/bin:${PATH}"
|
||||
{%@@ endif @@%}
|
||||
|
||||
# Functions (or more complex aliases)
|
||||
|
|
Loading…
Reference in a new issue