mirror of
https://github.com/opensiriusfox/bashrc.d.git
synced 2025-06-16 20:31:15 -07:00
Added various updates, and tty shell colors
This commit is contained in:
parent
faca28aa04
commit
afc83bb6c0
4 changed files with 110 additions and 8 deletions
13
node.sh
Normal file
13
node.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
#
|
||||
# echo 'prefix = ~/.node' > ~/.npmrc
|
||||
#
|
||||
|
||||
if [[ -d ~/.node ]]; then
|
||||
if [[ -d ~/.node/bin ]]; then
|
||||
export PATH="$HOME/.node/bin:$PATH"
|
||||
fi
|
||||
export NODE_PATH="$HOME/.node/lib/node_modules:$NODE_PATH"
|
||||
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue