This commit is contained in:
Niccolo Borgioli 2023-03-09 11:37:34 +01:00
parent 5f6315000a
commit 21b8cf7edd
No known key found for this signature in database
GPG Key ID: D93C615F75EE4F0B
3 changed files with 12 additions and 3 deletions

View File

@ -25,6 +25,7 @@ brew "bat"
brew "rsync"
brew "oh-my-posh"
brew "fnm"
brew "direnv"
# Fonts
cask "font-hack-nerd-font"

View File

@ -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

View File

@ -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)"