2021-11-04 11:35:52 +01:00
|
|
|
set -g fish_user_paths "/usr/local/sbin" $fish_user_paths
|
|
|
|
|
|
|
|
set -x PIPENV_VENV_IN_PROJECT true
|
2023-03-15 15:12:07 +01:00
|
|
|
set -x POETRY_VIRTUALENVS_IN_PROJECT true
|
2021-11-04 11:35:52 +01:00
|
|
|
|
2023-02-23 20:03:23 +01:00
|
|
|
if [ -x /opt/homebrew/bin/brew ]
|
|
|
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
|
|
|
end
|
2023-01-07 10:22:21 +01:00
|
|
|
|
2021-11-04 11:35:52 +01:00
|
|
|
export GOPATH="$HOME/.go"
|
2021-11-13 16:10:26 +01:00
|
|
|
if type -q brew
|
2021-11-05 16:09:08 +01:00
|
|
|
export GOROOT=(brew --prefix go)"/libexec"
|
|
|
|
end
|
2023-03-09 11:37:34 +01:00
|
|
|
export PATH="$PATH:$GOPATH/bin:$GOROOT/bin"
|
2021-11-04 11:35:52 +01:00
|
|
|
|
|
|
|
# The next line updates PATH for the Google Cloud SDK.
|
|
|
|
if [ -f '$HOME/Desktop/google-cloud-sdk/path.fish.inc' ]; . '$HOME/Desktop/google-cloud-sdk/path.fish.inc'; end
|
2021-11-05 17:33:48 +01:00
|
|
|
|
|
|
|
# tabtab source for packages
|
|
|
|
# uninstall by removing these lines
|
|
|
|
[ -f ~/.config/tabtab/fish/__tabtab.fish ]; and . ~/.config/tabtab/fish/__tabtab.fish; or true
|
2022-05-28 13:41:22 +02:00
|
|
|
|
|
|
|
# pnpm
|
2023-01-07 10:22:21 +01:00
|
|
|
set -gx PNPM_HOME "$HOME/Library/pnpm"
|
2022-05-28 13:41:22 +02:00
|
|
|
set -gx PATH "$PNPM_HOME" $PATH
|
2023-01-07 10:22:21 +01:00
|
|
|
# pnpm end
|
2023-02-27 11:35:30 +01:00
|
|
|
|
2023-03-06 15:12:40 +01:00
|
|
|
# Node
|
2023-03-09 11:37:34 +01:00
|
|
|
if type -q fnm
|
2023-03-09 02:43:49 +01:00
|
|
|
fnm env --use-on-cd | source
|
|
|
|
end
|
2023-03-06 15:12:40 +01:00
|
|
|
|
2023-03-09 11:37:34 +01:00
|
|
|
if type -q direnv
|
|
|
|
direnv hook fish | source
|
|
|
|
end
|
|
|
|
|
2023-03-06 15:12:40 +01:00
|
|
|
# Theme
|
2023-03-09 11:37:34 +01:00
|
|
|
if type -q oh-my-posh
|
|
|
|
oh-my-posh init fish --config ~/.config/omp/main.omp.yaml | source
|
|
|
|
end
|