use gnu-getop, when installed via brew

This commit is contained in:
Philip Henning 2024-01-11 22:02:14 +01:00
parent c2fb37e781
commit 240e01257d
2 changed files with 6 additions and 0 deletions

View file

@ -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