mirror of
https://github.com/cupcakearmy/dotfiles.git
synced 2024-10-31 20:44:12 +01:00
direnv
This commit is contained in:
parent
5f6315000a
commit
21b8cf7edd
@ -25,6 +25,7 @@ brew "bat"
|
||||
brew "rsync"
|
||||
brew "oh-my-posh"
|
||||
brew "fnm"
|
||||
brew "direnv"
|
||||
|
||||
# Fonts
|
||||
cask "font-hack-nerd-font"
|
||||
|
@ -10,7 +10,7 @@ export GOPATH="$HOME/.go"
|
||||
if type -q brew
|
||||
export GOROOT=(brew --prefix go)"/libexec"
|
||||
end
|
||||
export PATH="$PATH:$GOPATH/bin:$GOROOT/bin:$HOME/.cargo/bin"
|
||||
export PATH="$PATH:$GOPATH/bin:$GOROOT/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
|
||||
@ -25,9 +25,15 @@ set -gx PATH "$PNPM_HOME" $PATH
|
||||
# pnpm end
|
||||
|
||||
# Node
|
||||
if type -q brew
|
||||
if type -q fnm
|
||||
fnm env --use-on-cd | source
|
||||
end
|
||||
|
||||
if type -q direnv
|
||||
direnv hook fish | source
|
||||
end
|
||||
|
||||
# Theme
|
||||
oh-my-posh init fish --config ~/.config/omp/main.omp.yaml | source
|
||||
if type -q oh-my-posh
|
||||
oh-my-posh init fish --config ~/.config/omp/main.omp.yaml | source
|
||||
end
|
||||
|
@ -20,4 +20,6 @@ export PATH="$PNPM_HOME:$PATH"
|
||||
# Node
|
||||
eval "$(fnm env --use-on-cd)"
|
||||
|
||||
eval "$(direnv hook zsh)"
|
||||
|
||||
eval "$(oh-my-posh init zsh)"
|
||||
|
Loading…
Reference in New Issue
Block a user