mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-24 23:48:09 +01:00
Add linuxbrew setup
This commit is contained in:
parent
9744eaa2d4
commit
640dda63ad
2 changed files with 10 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
|||
fish_add_path /opt/homebrew/bin $HOME/.local/bin $HOME/.cargo/bin $HOME/.krew/bin
|
||||
{{ if eq .chezmoi.os "linux" }}
|
||||
fish_add_path /home/linuxbrew/.linuxbrew/bin
|
||||
eval "$(brew shellenv)"
|
||||
{{ end }}
|
||||
set -gx VIRTUAL_ENV_DISABLE_PROMPT 1
|
||||
set -gx PYENV_ROOT $HOME/.pyenv
|
||||
fish_add_path $HOME/.pyenv/bin
|
||||
|
|
|
@ -4,3 +4,9 @@ export PATH="$PATH:$HOME/.rvm/bin"
|
|||
|
||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
|
||||
[[ -s "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"
|
||||
|
||||
{{ if eq .chezmoi.os "linux" }}
|
||||
# Set PATH, MANPATH, etc., for Homebrew.
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue