Skip to content

Commit

Permalink
fix: improve fnm usage
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbeal committed Sep 17, 2021
1 parent f949053 commit 4a99793
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion node/.sh_node
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ -x "$(command -v fnm)" ]; then
fi

node_version() {
if [ -f "$(pwd)/.node-version" ]; then
if [ -f "$(pwd)/.node-version" || -f "$(pwd)/.nvmrc" ]; then
fnm use
fi
}
1 change: 1 addition & 0 deletions shell/.sh_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ alias ll='ls -alF'
# apps
alias vsc='code .'
alias zshrc='code ~/.zshrc'
alias awsume='. awsume'

if [[ $(uname) == "Darwin" ]]; then
alias restart='sudo systemsetup -setrestartfreeze on'
Expand Down

0 comments on commit 4a99793

Please sign in to comment.