Skip to content

Instantly share code, notes, and snippets.

@fredhohman
Created May 25, 2019 23:40
Show Gist options
  • Save fredhohman/873e9b0cab58c0768c03efd377354d90 to your computer and use it in GitHub Desktop.
Save fredhohman/873e9b0cab58c0768c03efd377354d90 to your computer and use it in GitHub Desktop.
terminal colors for .bash_profile
### terminal colors
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\] \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "
# attempt to put color on branch name
# export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\] \033[36m\]\[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'
### git aware, located in ~/.bash folder
export GITAWAREPROMPT=~/.bash/git-aware-prompt
source "${GITAWAREPROMPT}/main.sh"
# Git branch name after prompt, this bas been included in above line for PS1
# export PS1="\u@\h \W \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment