2023-12-24 11:58:09 -05:00
|
|
|
set -gx KUBE_EDITOR micro
|
|
|
|
set -gx VISUAL micro
|
|
|
|
set -gx EDITOR micro
|
2023-12-24 12:21:30 -05:00
|
|
|
set -gx GOPATH {{ .chezmoi.homeDir }}/.go
|
2023-12-24 11:58:09 -05:00
|
|
|
set -gx ANSIBLE_FORCE_COLOR true
|
|
|
|
set -gx ANSIBLE_HOST_KEY_CHECKING False
|
2023-12-24 12:21:30 -05:00
|
|
|
set -gx PY_COLORS true
|
|
|
|
set -gx GPG_TTY (tty)
|
2023-12-24 11:58:09 -05:00
|
|
|
|
|
|
|
fish_add_path "{{ .chezmoi.homeDir }}/bin"
|
|
|
|
fish_add_path "{{ .chezmoi.homeDir }}/.local/bin"
|
|
|
|
fish_add_path "{{ .chezmoi.homeDir }}/.cargo/bin"
|
|
|
|
fish_add_path "{{ .chezmoi.homeDir }}/.krew/bin"
|
|
|
|
fish_add_path "{{ .chezmoi.homeDir }}/.go/bin"
|
|
|
|
|
|
|
|
{{- if (eq .chezmoi.os "darwin") }}
|
|
|
|
fish_add_path "/opt/homebrew/opt/curl/bin"
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
if type -q direnv
|
|
|
|
direnv hook fish | source
|
|
|
|
end
|
|
|
|
|
|
|
|
if type -q atuin
|
|
|
|
atuin init fish | source
|
|
|
|
end
|
|
|
|
|
2023-12-24 12:21:30 -05:00
|
|
|
if type -q thefuck
|
|
|
|
thefuck --alias | source
|
|
|
|
end
|
|
|
|
|
2023-12-24 11:58:09 -05:00
|
|
|
if type -q starship
|
|
|
|
starship init fish | source
|
|
|
|
end
|
|
|
|
|
2023-12-24 12:21:30 -05:00
|
|
|
if type -q zoxide
|
|
|
|
zoxide init fish | source
|
|
|
|
end
|
|
|
|
|
2023-12-24 11:58:09 -05:00
|
|
|
if status is-interactive
|
|
|
|
# Commands to run in interactive sessions can go here
|
|
|
|
set -g fish_escape_delay_ms 100
|
|
|
|
end
|