From d79461e94f94ef1fc499fe99e71ceb9d0bd03007 Mon Sep 17 00:00:00 2001 From: Chunyolin Date: Sun, 12 Aug 2018 17:01:15 +0800 Subject: [PATCH] add: nvm --- .bashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index fa5c34f..cf02262 100644 --- a/.bashrc +++ b/.bashrc @@ -160,9 +160,6 @@ source $BASH_IT/bash_it.sh if [ -n "$cur" ]; then gcmd='grep "^$cur"' ; else gcmd=cat ; fi -export NVM_DIR="~/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm - # cd with ls function cd { builtin cd "$@" && ls -F @@ -200,3 +197,6 @@ PATH="$PATH:/home/chunyo/.local/riscv/riscv32-unknown-elf/bin" LLVM_CONFIG="/usr/lib/llvm-3.8/bin/llvm-config" export PATH="/home/chunyo/anaconda3/bin:$PATH" + +export NVM_DIR="/home/chunyo/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm