diff options
| author | Mitsuo Tokumori <[email protected]> | 2022-06-25 11:36:24 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2022-06-25 11:36:24 -0500 |
| commit | 3d5f2f2fa6269f8d6a1412cbbddbb538121b28f2 (patch) | |
| tree | 383d906956d446509e3f57d039a45f177e3f9627 /bashrc | |
| parent | 884ee869c3ba9698647391cf6400bae11d6959a4 (diff) | |
| download | dotfiles-3d5f2f2fa6269f8d6a1412cbbddbb538121b28f2.tar.gz dotfiles-3d5f2f2fa6269f8d6a1412cbbddbb538121b28f2.tar.bz2 dotfiles-3d5f2f2fa6269f8d6a1412cbbddbb538121b28f2.zip | |
Add git-prompt.sh. Some distros require it
E.g., Amazon Linux 2
Diffstat (limited to 'bashrc')
| -rw-r--r-- | bashrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |
