This file contains hidden or 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
# Fonte: http://vidageek.net/2009/07/20/como-exibir-branch-atual-do-git/ | |
export PS1="\[\033[38m\]\u\[\033[32m\] \w \[\033[31m\]\`git \\ | |
branch 2>/dev/null | grep \"^\*\" | \\ | |
sed -r \"s/\*\ (.*)/ \(\1\)/\"\`\[\033[37m\]$\[\033[00m\] " | |
## Mac version: | |
# | |
#PS1="\[\033[38m\]\u"; | |
#PS1="$PS1\[\033[32m\] \w"; |
This file contains hidden or 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
set nocompatible | |
set bs=2 | |
set columns=80 | |
set background=dark | |
set wrapmargin=8 | |
syntax on | |
set ruler | |
set number |
NewerOlder