Last active
November 5, 2019 18:58
-
-
Save prxg22/3772a7076904bde880e7fa174081ffff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NVM | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
# GIT | |
git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
export PS1="\[\033[0;49;96m\]\u\[\033[0m\]@\w \[\033[38;5;48m\]\$(git_branch)\[\033[00m\] \$ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment