Update homebrew install location

main
Buddy 2 days ago
parent 51bf2c580b
commit 171afb7b79

@ -22,11 +22,11 @@ def add_xdg [name ...parts] {
} }
def from_string [] { def from_string [] {
$in | split row (char esep) | path expand --no-symlink split row (char esep) | path expand --no-symlink
} }
def to_string [] { def to_string [] {
$in | path expand --no-symlink | str join (char esep) path expand --no-symlink | str join (char esep)
} }
load-env { load-env {
@ -60,20 +60,18 @@ load-env {
BAT_THEME: zenburn BAT_THEME: zenburn
MANPAGER: "sh -c 'col -bx | bat --language man --plain'" MANPAGER: "sh -c 'col -bx | bat --language man --plain'"
CLICOLOR: 1 CLICOLOR: 1
GOPRIVATE: github.com/HelloTech
PULUMI_SKIP_UPDATE_CHECK: true PULUMI_SKIP_UPDATE_CHECK: true
NPM_CONFIG_USERCONFIG: $'($env.XDG_CONFIG_HOME)/npm/npmrc' NPM_CONFIG_USERCONFIG: $'($env.XDG_CONFIG_HOME)/npm/npmrc'
RIPGREP_CONFIG_PATH: $'($env.XDG_CONFIG_HOME)/ripgrep/config' RIPGREP_CONFIG_PATH: $'($env.XDG_CONFIG_HOME)/ripgrep/config'
PATH: ([ PATH: ([
$env.XDG_BIN_HOME $env.XDG_BIN_HOME
/opt/homebrew/bin
($'($env.CARGO_HOME?)' | path join "bin") ($'($env.CARGO_HOME?)' | path join "bin")
($'($env.HOME)/go/bin') ($'($env.HOME)/go/bin')
($'($env.HOME)/.rbenv/shims') ($'($env.HOME)/.rbenv/shims')
($'($env.HOME)/.local/share/JetBrains/Toolbox/scripts') ($'($env.HOME)/.local/share/JetBrains/Toolbox/scripts')
($'($env.HOME)/google-cloud-sdk/bin') ($'($env.HOME)/google-cloud-sdk/bin')
/usr/local/opt/mysql-client/bin
/usr/local/Cellar/postgresql@14/14.15/bin
/usr/local/bin /usr/local/bin
...($env.PATH | split row (char esep)) ...($env.PATH | split row (char esep))
/snap/bin /snap/bin

@ -12,6 +12,12 @@ if [ -d "${HOME}/go/bin" ] && ! echo "$PATH" | grep -q "${HOME}/go/bin" ; then
fi fi
#{{- end }} #{{- end }}
#{{- if stat "/opt/homebrew/bin" }}
if [ -d /opt/homebrew/bin ] ; then
PATH=/opt/homebrew/bin:${PATH}
fi
#{{- end }}
#{{- if stat "/usr/local/opt/mysql-client/bin" }} #{{- if stat "/usr/local/opt/mysql-client/bin" }}
#{{/* if mysql client is installed from homebrew */}} #{{/* if mysql client is installed from homebrew */}}
if [ -d /usr/local/opt/mysql-client/bin ] ; then if [ -d /usr/local/opt/mysql-client/bin ] ; then

Loading…
Cancel
Save