diff options
| author | jason | 2021-07-07 09:29:41 -0600 |
|---|---|---|
| committer | jason | 2021-07-07 09:29:41 -0600 |
| commit | 5848e4dbe9c938ce6b6e2ab5d181e865a160b431 (patch) | |
| tree | 493d99fd5e798f548a5cfc9e65c2e1ca2c5206db /bash | |
| parent | 3f8e11a098b3ee7035e1c7a09f04e870f4d34a18 (diff) | |
| download | dotfiles-5848e4dbe9c938ce6b6e2ab5d181e865a160b431.tar.gz dotfiles-5848e4dbe9c938ce6b6e2ab5d181e865a160b431.zip | |
add support for nodejs
Diffstat (limited to 'bash')
| -rw-r--r-- | bash/.bashrc | 6 |
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" |
| 26 | fi | 26 | fi |
| 27 | 27 | ||
| 28 | # Enable nodejs | ||
| 29 | if [ -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 | ||
| 33 | fi | ||
| 28 | 34 | ||
| 29 | # Enable go | 35 | # Enable go |
| 30 | if [ -d /usr/local/go/bin ]; then | 36 | if [ -d /usr/local/go/bin ]; then |