diff --git a/dotfiles/zshenv b/dotfiles/zshenv index fe3c7ce..7251b70 100644 --- a/dotfiles/zshenv +++ b/dotfiles/zshenv @@ -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 diff --git a/dotfiles/zshrc b/dotfiles/zshrc index b56361d..59f94df 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -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