Created
May 25, 2019 23:40
-
-
Save fredhohman/873e9b0cab58c0768c03efd377354d90 to your computer and use it in GitHub Desktop.
terminal colors for .bash_profile
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
### 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
colors: https://github.com/tomislav/osx-terminal.app-colors-solarized
git aware: https://github.com/jimeh/git-aware-prompt