Improve macOS support for nushell

main
Buddy 1 month ago
parent d26cb96e51
commit 0bd49d895b

@ -90,6 +90,14 @@
allowfilter = true
allowAnySHA1InWant = true
#{{- if lookPath "git-lfs" }}
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
#{{- end }}
#{{- range $file := (glob (joinPath .chezmoi.homeDir ".config" "git" "config.d" "*")) }}
[include]
path = #{{ $file }}

@ -65,6 +65,7 @@ load-env {
PATH: ([
$env.XDG_BIN_HOME
/opt/homebrew/bin
/opt/homebrew/sbin
($'($env.CARGO_HOME?)' | path join "bin")
($'($env.HOME)/go/bin')
($'($env.HOME)/.deno/bin')
@ -72,6 +73,11 @@ load-env {
($'($env.HOME)/.local/share/JetBrains/Toolbox/scripts')
($'($env.HOME)/google-cloud-sdk/bin')
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/Applications/Ghostty.app/Contents/MacOS
...($env.PATH | split row (char esep))
/snap/bin
] | each {|p| if ($p | path exists) { $p } else { null }}

Loading…
Cancel
Save