dotfiles/files/fish/config.fish

43 lines
1.0 KiB
Fish
Raw Normal View History

2021-11-04 10:35:52 +00:00
set -g fish_user_paths "/usr/local/sbin" $fish_user_paths
set -x PIPENV_VENV_IN_PROJECT true
2023-03-15 14:12:07 +00:00
set -x POETRY_VIRTUALENVS_IN_PROJECT true
2021-11-04 10:35:52 +00:00
2023-02-23 19:03:23 +00:00
if [ -x /opt/homebrew/bin/brew ]
eval "$(/opt/homebrew/bin/brew shellenv)"
end
2023-01-07 09:22:21 +00:00
2021-11-04 10:35:52 +00:00
export GOPATH="$HOME/.go"
2021-11-13 15:10:26 +00:00
if type -q brew
2021-11-05 15:09:08 +00:00
export GOROOT=(brew --prefix go)"/libexec"
end
2023-03-09 10:37:34 +00:00
export PATH="$PATH:$GOPATH/bin:$GOROOT/bin"
2021-11-04 10:35:52 +00: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 16:33:48 +00: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 11:41:22 +00:00
2023-03-21 18:15:41 +00:00
# Rust
set -gx PATH "$HOME/.cargo/bin" $PATH
2023-03-06 14:12:40 +00:00
# Node
2023-03-09 10:37:34 +00:00
if type -q fnm
2023-03-09 01:43:49 +00:00
fnm env --use-on-cd | source
end
2023-03-06 14:12:40 +00:00
2023-03-09 10:37:34 +00:00
if type -q direnv
direnv hook fish | source
end
2023-03-06 14:12:40 +00:00
# Theme
2023-03-09 10:37:34 +00:00
if type -q oh-my-posh
oh-my-posh init fish --config ~/.config/omp/main.omp.yaml | source
end
2023-10-30 09:03:50 +00:00
# bun
set --export BUN_INSTALL "$HOME/.bun"
set --export PATH $BUN_INSTALL/bin $PATH