dotfiles/.config/fish/functions/import_sources.fish
2025-08-10 17:48:32 -04:00

20 lines
876 B
Fish

function import_sources -a uname -d 'Loads any additional fish files needed at init.'
test -f ~/.asdf/plugins/dotnet-core/set-dotnet-home.fish; and source ~/.asdf/plugins/dotnet-core/set-dotnet-home.fish
test -e ~/.asdf/asdf.fish
and source ~/.asdf/asdf.fish
and mkdir -p ~/.config/fish/completions
and ln -sf ~/.asdf/completions/asdf.fish ~/.config/fish/completions
test -e /opt/homebrew/bin/brew
and /opt/homebrew/bin/brew shellenv | source -
command -q starship; and starship init fish | source
command -q zoxide; and zoxide init fish | source
command -q fzf; and fzf --fish | source
command -q pyenv; and pyenv init - | source
# The next line updates PATH for the Google Cloud SDK.
# if test -f '/Users/m/Documents/google-cloud-sdk/path.fish.inc'; source '/Users/m/Documents/google-cloud-sdk/path.fish.inc'; end
end