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