bash: move nvm/rbenv/yarn to bashrc.d
This commit is contained in:
1
bashrc.d/local/framework.bash
Normal file
1
bashrc.d/local/framework.bash
Normal file
@@ -0,0 +1 @@
|
||||
eval "`dircolors -b ~/.dircolors`"
|
||||
3
bashrc.d/nvm.bash
Normal file
3
bashrc.d/nvm.bash
Normal file
@@ -0,0 +1,3 @@
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
@@ -1,4 +1,4 @@
|
||||
if [ -f "$HOME/.rbenv/bin/rbenv" ] ; then
|
||||
eval "$($HOME/.rbenv/bin/rbenv init - bash)"
|
||||
addpath $HOME/.rbenv/bin
|
||||
eval "$($HOME/.rbenv/bin/rbenv init - bash)"
|
||||
fi
|
||||
|
||||
|
||||
1
bashrc.d/yarn.bash
Normal file
1
bashrc.d/yarn.bash
Normal file
@@ -0,0 +1 @@
|
||||
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
||||
Reference in New Issue
Block a user