mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 21:22:25 +00:00
use gnu-getop, when installed via brew
This commit is contained in:
parent
c2fb37e781
commit
240e01257d
|
@ -20,6 +20,9 @@ export ANSIBLE_NOCOWS=1
|
|||
# Include $(go env GOPATH) to PATH
|
||||
[[ $(command -v go) ]] && [[ -d "$(go env GOPATH)/bin" ]] && export PATH="$(go env GOPATH)/bin:${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}"
|
||||
|
||||
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' or profile == 'ymir' @@%}
|
||||
# Connect to windows ssh pageant
|
||||
# https://github.com/BlackReloaded/wsl2-ssh-pageant
|
||||
|
|
|
@ -199,6 +199,9 @@ export PATH="${brew_path}:${PATH}"
|
|||
# Functions (or more complex aliases)
|
||||
source {{@@ env['HOME'] @@}}/.commonfunc
|
||||
|
||||
# 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}"
|
||||
|
||||
{%@@ if profile == 'ymir' @@%}
|
||||
autoload -Uz compinit
|
||||
zstyle ':completion:*' menu select
|
||||
|
|
Loading…
Reference in a new issue