mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-25 01:06:31 +00:00
Add npm paths
This commit is contained in:
parent
e0a0205b73
commit
743fda9641
@ -60,6 +60,12 @@ if [ -d "$HOME/.rvm" ]; then
|
|||||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
|
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# NPM paths
|
||||||
|
# On mac the path should already be taken care of
|
||||||
|
if type npm &> /dev/null && [ $DET_OS != "mac" ]; then
|
||||||
|
export PATH=$PATH:$(npm bin -g)
|
||||||
|
fi
|
||||||
|
|
||||||
# Increase memory sizes for java using Ant
|
# Increase memory sizes for java using Ant
|
||||||
ANT_OPTS="-Xmx2048m -Xms512m"
|
ANT_OPTS="-Xmx2048m -Xms512m"
|
||||||
|
|
||||||
|
@ -48,5 +48,11 @@ if [ -d "$HOME/.rvm" ]
|
|||||||
set -gx PATH $PATH $HOME/.rvm/bin
|
set -gx PATH $PATH $HOME/.rvm/bin
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# NPM paths
|
||||||
|
# On mac the path should already be taken care of
|
||||||
|
if type -q npm ; and [ $det_os != "mac" ]
|
||||||
|
set -gx PATH $PATH (npm bin -g)
|
||||||
|
end
|
||||||
|
|
||||||
# Home path
|
# Home path
|
||||||
set -gx PATH $HOME/bin $HOME/.local/bin $PATH
|
set -gx PATH $HOME/bin $HOME/.local/bin $PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user