Created
October 30, 2014 06:36
-
-
Save dedalqq/31aa35aa9fe0cd8abfe7 to your computer and use it in GitHub Desktop.
From chrome://newtab/
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
# Включаем автоподстановку | |
if [ -f ~/.scripts/git-completion.bash ]; then | |
. ~/.scripts/git-completion.bash | |
fi | |
# Включаем отображение состояния в строке приветствия bash | |
if [ -f ~/.scripts/git-prompt.sh ]; then | |
. ~/.scripts/git-prompt.sh | |
fi | |
GIT_PS1_SHOWDIRTYSTATE=true | |
# Устанавливаем строку приветствия с цветами со статусом git репозитория | |
PS1='\[\033[01;32m\]${USER}@$\h\[\033[00m\]:\[\033[01;34m\]${PWD/#$HOME/~}\[\033[35m\]$(__git_ps1 " (%s)") \[\033[01;00m\]$ ' | |
# MacPorts Installer addition on 2014-06-14_at_12:44:18: adding an appropriate PATH variable for use with MacPorts. | |
export PATH=.bin:/opt/local/bin:/opt/local/sbin:$PATH | |
# Finished adapting your PATH environment variable for use with MacPorts. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment