add solarized theme, fix tmux colors in bash
parent
2fe4d952b4
commit
e51807edc5
|
@ -7,6 +7,6 @@
|
|||
[submodule "vim/bundle/vim-unimpaired"]
|
||||
path = vim/bundle/vim-unimpaired
|
||||
url = https://github.com/tpope/vim-unimpaired
|
||||
[submodule "vim/bundle/vim-colors-solarized"]
|
||||
path = vim/bundle/vim-colors-solarized
|
||||
url = https://github.com/altercation/vim-colors-solarized.git
|
||||
[submodule "vim/pack/themes/opt/solarized8"]
|
||||
path = vim/pack/themes/opt/solarized8
|
||||
url = https://github.com/lifepillar/vim-solarized8.git
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
#if [[ "$SSH_CONNECTION" != "" && "$MY_SSH_CONNECTION" != "yes" ]]; then
|
||||
# /bin/zsh
|
||||
#fi
|
||||
#export SHELL=/bin/zsh
|
||||
#exec /bin/zsh -l
|
||||
|
||||
if [[ -z $TMUX ]]; then
|
||||
if [ -e /usr/share/terminfo/x/xterm-256color ]; then # may be xterm-256 depending on your distro
|
||||
export TERM='rxvt-256color'
|
||||
else
|
||||
export TERM='rxvt'
|
||||
fi
|
||||
else
|
||||
if [ -e /usr/share/terminfo/s/screen-256color ]; then
|
||||
export TERM='screen-256color'
|
||||
else
|
||||
export TERM='screen'
|
||||
fi
|
||||
fi
|
||||
|
||||
export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 13)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]"
|
||||
export PATH=$HOME/.local/bin:$PATH
|
|
@ -0,0 +1 @@
|
|||
Subproject commit c75b42d8a2207f7b514d2fa697a50051c4170b87
|
9
vimrc
9
vimrc
|
@ -1,3 +1,8 @@
|
|||
"""Weird tmux settings
|
||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
|
||||
|
||||
""" Start vim.plug
|
||||
execute pathogen#infect()
|
||||
|
||||
|
@ -38,8 +43,10 @@ set relativenumber
|
|||
" Autoindent
|
||||
set autoindent
|
||||
|
||||
" Syntax highlighting
|
||||
" Colors
|
||||
syntax enable
|
||||
set background=dark
|
||||
colorscheme solarized8
|
||||
filetype plugin on
|
||||
|
||||
" Fuzzy Finding
|
||||
|
|
Loading…
Reference in New Issue