dotfiles/files/fish/config.fish

34 lines
881 B
Fish
Raw Normal View History

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-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
2021-11-04 11:35:52 +01:00
export PATH="$PATH:$GOPATH/bin:$GOROOT/bin:$HOME/.cargo/bin"
# 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 02:43:49 +01:00
if type -q brew
fnm env --use-on-cd | source
end
2023-03-06 15:12:40 +01:00
# Theme
2023-03-06 13:25:38 +01:00
oh-my-posh init fish --config ~/.config/omp/main.omp.yaml | source