if status is-interactive # Commands to run in interactive sessions can go here end # Claude local installation fish_add_path ~/.claude/local # Local binaries (dotfiles) fish_add_path ~/.local/bin # The homelab SOPS helper reads this 1Password item only when it needs the age # private key. The key itself does not go into the environment or this source. set --export OP_SOPS_AGE_ITEM "op://Infra/i5pclbnt5dm2hoj4wlch3pe6u4/password" # Go binaries. Resolved at apply time so each machine gets its own GOPATH/GOBIN; # ~/go/bin is the upstream default for machines without Go installed yet. {{ if lookPath "go" -}} {{ $gobin := output "go" "env" "GOBIN" | trim -}} {{ if eq $gobin "" }}{{ $gobin = printf "%s/bin" (output "go" "env" "GOPATH" | trim) }}{{ end -}} fish_add_path {{ $gobin }} {{ else -}} fish_add_path ~/go/bin {{ end -}}