Created
November 28, 2016 01:15
-
-
Save ucaiado/18bdb93450c5041f5f090bf9050de2bd to your computer and use it in GitHub Desktop.
This file contains 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
# Enable tab completion | |
source ~/git-completion.bash | |
# colors! | |
green="\[\033[0;32m\]" | |
blue="\[\033[0;34m\]" | |
purple="\[\033[0;35m\]" | |
reset="\[\033[0m\]" | |
# Change command prompt | |
source ~/git-prompt.sh | |
export GIT_PS1_SHOWDIRTYSTATE=1 | |
# '\u' adds the name of the current user to the prompt | |
# '\$(__git_ps1)' adds git-related stuff | |
# '\W' adds the name of the current directory | |
export PS1="$purple\u$green\$(__git_ps1)$blue \W $ $reset" | |
# alias sublime | |
alias subl="C:/Program\ Files/Sublime\ Text\ 3/sublime_text.exe" | |
# add paths | |
export GIT="/c/Users/my_user/GIT/" | |
export TEMP="/c/Users/my_user/Temp/" | |
export DROPBOX="/c/Users/my_user/Dropbox/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment