summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-03-30 10:31:11 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-03-30 10:31:11 +0200
commitf12153008ffcd5c09f94cc7e918556da813ca4fc (patch)
tree7d1965ebbd064bac985deab144915a2ec433235d
parentd853c4ce415e50b5c2b378495e064ab7c8cc65ce (diff)
256 color terminal for vim
-rw-r--r--bash/.bash_profile2
-rw-r--r--vim/.vimrc2
2 files changed, 3 insertions, 1 deletions
diff --git a/bash/.bash_profile b/bash/.bash_profile
index 0afc493..d0fe952 100644
--- a/bash/.bash_profile
+++ b/bash/.bash_profile
@@ -3,6 +3,8 @@ source ~/.git-prompt.sh
#PS1="\[$GREEN\]\t\[$RED\]-\[$BLUE\]\u\[$YELLOW\]\[$YELLOW\]\w\[\033[m\]\[$MAGENTA\]\$(__git_ps1)\[$WHITE\]\$ "
PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$(__git_ps1)\[$WHITE\]\$ "
+TERM=xterm-256color
+
if [ -f ~/.bash_aliases ] ; then
. ~/.bash_aliases
fi
diff --git a/vim/.vimrc b/vim/.vimrc
index e04b3cd..9021c93 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -23,7 +23,7 @@ autocmd BufNewFile,BufRead *.md set ft=markdown
" Get 256 colors
if $TERM == "xterm-256color"
- set t_Co=256
+ set t_Co=256
endif
" Ingnore Case in search