Created
December 31, 2016 09:00
-
-
Save naithar/b0bd8ee7af94a96ea75dbce33f3339a8 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
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="[\t] \[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\[\033[31m\]\$(parse_git_branch)\[\033[00m\]$ " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
alias ls='ls -GFh' | |
export LC_COLLATE=ru_RU.UTF-8 | |
export LANG=en_US.UTF-8 | |
LANG=en_US.UTF-8 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment