aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorjason2021-07-07 09:29:41 -0600
committerjason2021-07-07 09:29:41 -0600
commit5848e4dbe9c938ce6b6e2ab5d181e865a160b431 (patch)
tree493d99fd5e798f548a5cfc9e65c2e1ca2c5206db /bash
parent3f8e11a098b3ee7035e1c7a09f04e870f4d34a18 (diff)
downloaddotfiles-5848e4dbe9c938ce6b6e2ab5d181e865a160b431.tar.gz
dotfiles-5848e4dbe9c938ce6b6e2ab5d181e865a160b431.zip
add support for nodejs
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 33a6160..d674a16 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -25,6 +25,12 @@ if [ -f $HOME/.cargo/env ]; then
25 source "$HOME/.cargo/env" 25 source "$HOME/.cargo/env"
26fi 26fi
27 27
28# Enable nodejs
29if [ -d /usr/local/lib/nodejs ]; then
30 NJS_VERSION=v15.14.0
31 NJS_DISTRO=linux-x64
32 PATH=/usr/local/lib/nodejs/node-$NJS_VERSION-$NJS_DISTRO/bin:$PATH
33fi
28 34
29# Enable go 35# Enable go
30if [ -d /usr/local/go/bin ]; then 36if [ -d /usr/local/go/bin ]; then