Skip to content

Instantly share code, notes, and snippets.

View Zveroboev's full-sized avatar

Sergey Zveroboev Zveroboev

  • Russian Federation
View GitHub Profile
@Zveroboev
Zveroboev / .bash_profile
Last active March 23, 2018 09:52
Подсветка текущей git ветки при подключении через ssh
// Источник - http://thelucid.com/2008/12/02/git-setting-up-a-remote-repository-and-doing-an-initial-push/
// Добавить в конец ~/.bash_profile на удаленном сервере следующий код:
# Reset
Color_Off="\[\033[0m\]" # Text Reset
# Regular Colors
Black="\[\033[0;30m\]" # Black
Red="\[\033[0;31m\]" # Red
Green="\[\033[0;32m\]" # Green