summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 0045d60..6b34e07 100644
--- a/bashrc
+++ b/bashrc
@@ -122,7 +122,9 @@ fi
# Custom prompt:
# Blue timestamp and italic green pwd
#PS1='\[\033[34m\]|\D{%H:%M:%S}| \[\033[3;32m\][\w]\[\033[00m\]\n\$ '
-# git-bash promp is helpful when browsing a git-repository
+# If error `-bash: __git_ps1: command not found`, uncomment the following line
+# Ref.: https://stackoverflow.com/a/15398153/7498073
+#source ~/.git-prompt.sh
PS1='\[\033[32m\]\u@\h \[\033[35m\]$MSYSTEM \[\033[33m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\]\n$ '
# Environmental variables:
@@ -161,3 +163,6 @@ if [ -f /usr/bin/brew ]; then
# for info pages
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH}"
fi
+
+# Node.js
+export NODE_PATH=~/code/nodejs/node-v16.15.1-linux-x64/lib/node_modules