Skip to content
Browse files

initial push

  • Loading branch information...
0 parents commit 8898aad4385be8d0d0ecf27e143b85b98acd1fd5 @atoponce committed
Showing with 1,313 additions and 0 deletions.
  1. +11 −0 .gitconfig
  2. +1 −0 .gvimrc
  3. +6 −0 .screenrc
  4. +51 −0 .tmux.conf
  5. +11 −0 .vim/.netrwhist
  6. +338 −0 .vim/colors/desert256.vim
  7. +64 −0 .vim/colors/jedit.vim
  8. +78 −0 .vim/colors/marklar.vim
  9. +82 −0 .vim/colors/slate2.vim
  10. +60 −0 .vim/colors/synic.vim
  11. +274 −0 .vim/colors/zenburn.vim
  12. +22 −0 .vim/globalrc.vim
  13. +1 −0 .vimrc
  14. +126 −0 .zsh_prompt
  15. +163 −0 .zshrc
  16. +3 −0 glider.txt
  17. +4 −0 personal.txt
  18. +2 −0 professional.txt
  19. +13 −0 synergy.conf
  20. +3 −0 ubuntu.txt
11 .gitconfig
@@ -0,0 +1,11 @@
+[core]
+ excludesfile = "/home/aaron/.gitignore"
+[user]
+ name = Aaron Toponce
+ email = aaron.toponce@gmail.com
+[color]
+ ui = auto
+ diff = auto
+ status = auto
+ branch = auto
+
1 .gvimrc
@@ -0,0 +1 @@
+source ~/.vim/globalrc.vim
6 .screenrc
@@ -0,0 +1,6 @@
+hardstatus alwayslastline # status at the bottom of screen
+hardstatus string '%{= .g}[ %{g}%H %{g}][%= %{= .d}%?%-Lw%?%{r}(%{d}%n*%f%t%?(%u)%?%{r})%{d}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{B}%c %{g}]' # hostname, buffers with current highlighted, and time and date
+attrcolor b ".I" # allow bold colors
+termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' # AB=background, AF=foreground
+#defbce "on" # erase background with current bg color
+term screen-256color
51 .tmux.conf
@@ -0,0 +1,51 @@
+set-option -g prefix C-a
+unbind-key C-b
+bind-key a send-prefix
+
+set-window-option -g utf8 on # utf8 support
+set-window-option -g mode-mouse off # disable mouse
+
+# copy mode to escape key
+bind y copy-mode
+bind ] paste-buffer
+bind-key ^] send-keys Escape ":set paste\ri" \; paste-buffer\; send-keys Escape ":set nopaste\r"
+
+# move tmux copy buffer into X clipboard
+bind-key C-y save-buffer /tmp/tmux-buffer \; run-shell "cat /tmp/tmux-buffer | xclip"
+
+# splitting and cycling
+set-option -g mouse-select-pane off
+unbind %
+bind | split-window -h # horizontal split
+unbind '"'
+bind S split-window -v # vertical split
+bind C-j previous-window
+bind C-k next-window
+
+# Richo's screenlike bindings
+bind C-n next
+bind C-space next
+bind space next
+bind C-p prev
+bind C-d detach
+#unbind C-c
+bind C-c new-window
+bind K confirm-before kill-window
+bind A command-prompt "rename-window '%%'"
+
+# Create an environment that zsh can make sense of
+# set-environment -g tmuxTERM $TERM
+set-environment -g INSCREEN yes
+set-environment TMUX_TITLE yes
+
+# Getting 256 colors to the terminal
+set-option -g default-terminal "screen-256color"
+
+# hardstatus line
+set-option -g status-justify centre
+set-option -g status-left-length 13
+set-option -g status-left '#[fg=green][ #[fg=green,bright]#h #[fg=green,nobright]][#[default]'
+set-option -g status-right-length 16
+set-option -g status-right '#[fg=green]][ #[fg=blue,bright]#(date +"%m/%d %H:%M") #[fg=green,nobright]]#[fg=default]'
+#set-option -g status '#[]'
+# vim: ft=tmux
11 .vim/.netrwhist
@@ -0,0 +1,11 @@
+let g:netrw_dirhistmax =10
+let g:netrw_dirhist_cnt =9
+let g:netrw_dirhist_1='/home/aaron/.mutt'
+let g:netrw_dirhist_2='/tmp/foo'
+let g:netrw_dirhist_3='/home/aaron/src/home/.mutt'
+let g:netrw_dirhist_4='/home/aaron/.mutt'
+let g:netrw_dirhist_5='/home/aaron'
+let g:netrw_dirhist_6='/home/aaron/src/work/git/salt/salt/cli'
+let g:netrw_dirhist_7='/media/mirror/aaron/work/gurudisk/GL/setup'
+let g:netrw_dirhist_8='/media/mirror/aaron/work/gurudisk/GL/setup/etc'
+let g:netrw_dirhist_9='/home/aaron/.weechat/python/autoload'
338 .vim/colors/desert256.vim
@@ -0,0 +1,338 @@
+" Vim color file
+" Maintainer: Henry So, Jr. <henryso@panix.com>
+
+" These are the colors of the "desert" theme by Hans Fugal with a few small
+" modifications (namely that I lowered the intensity of the normal white and
+" made the normal and nontext backgrounds black), modified to work with 88-
+" and 256-color xterms.
+"
+" The original "desert" theme is available as part of the vim distribution or
+" at http://hans.fugal.net/vim/colors/.
+"
+" The real feature of this color scheme, with a wink to the "inkpot" theme, is
+" the programmatic approximation of the gui colors to the palettes of 88- and
+" 256- color xterms. The functions that do this (folded away, for
+" readability) are calibrated to the colors used for Thomas E. Dickey's xterm
+" (version 200), which is available at http://dickey.his.com/xterm/xterm.html.
+"
+" I struggled with trying to parse the rgb.txt file to avoid the necessity of
+" converting color names to #rrggbb form, but decided it was just not worth
+" the effort. Maybe someone seeing this may decide otherwise...
+
+set background=dark
+if version > 580
+ " no guarantees for version 5.8 and below, but this makes it stop
+ " complaining
+ hi clear
+ if exists("syntax_on")
+ syntax reset
+ endif
+endif
+let g:colors_name="desert256"
+
+if has("gui_running") || &t_Co == 88 || &t_Co == 256
+ " functions {{{
+ " returns an approximate grey index for the given grey level
+ fun <SID>grey_number(x)
+ if &t_Co == 88
+ if a:x < 23
+ return 0
+ elseif a:x < 69
+ return 1
+ elseif a:x < 103
+ return 2
+ elseif a:x < 127
+ return 3
+ elseif a:x < 150
+ return 4
+ elseif a:x < 173
+ return 5
+ elseif a:x < 196
+ return 6
+ elseif a:x < 219
+ return 7
+ elseif a:x < 243
+ return 8
+ else
+ return 9
+ endif
+ else
+ if a:x < 14
+ return 0
+ else
+ let l:n = (a:x - 8) / 10
+ let l:m = (a:x - 8) % 10
+ if l:m < 5
+ return l:n
+ else
+ return l:n + 1
+ endif
+ endif
+ endif
+ endfun
+
+ " returns the actual grey level represented by the grey index
+ fun <SID>grey_level(n)
+ if &t_Co == 88
+ if a:n == 0
+ return 0
+ elseif a:n == 1
+ return 46
+ elseif a:n == 2
+ return 92
+ elseif a:n == 3
+ return 115
+ elseif a:n == 4
+ return 139
+ elseif a:n == 5
+ return 162
+ elseif a:n == 6
+ return 185
+ elseif a:n == 7
+ return 208
+ elseif a:n == 8
+ return 231
+ else
+ return 255
+ endif
+ else
+ if a:n == 0
+ return 0
+ else
+ return 8 + (a:n * 10)
+ endif
+ endif
+ endfun
+
+ " returns the palette index for the given grey index
+ fun <SID>grey_color(n)
+ if &t_Co == 88
+ if a:n == 0
+ return 16
+ elseif a:n == 9
+ return 79
+ else
+ return 79 + a:n
+ endif
+ else
+ if a:n == 0
+ return 16
+ elseif a:n == 25
+ return 231
+ else
+ return 231 + a:n
+ endif
+ endif
+ endfun
+
+ " returns an approximate color index for the given color level
+ fun <SID>rgb_number(x)
+ if &t_Co == 88
+ if a:x < 69
+ return 0
+ elseif a:x < 172
+ return 1
+ elseif a:x < 230
+ return 2
+ else
+ return 3
+ endif
+ else
+ if a:x < 75
+ return 0
+ else
+ let l:n = (a:x - 55) / 40
+ let l:m = (a:x - 55) % 40
+ if l:m < 20
+ return l:n
+ else
+ return l:n + 1
+ endif
+ endif
+ endif
+ endfun
+
+ " returns the actual color level for the given color index
+ fun <SID>rgb_level(n)
+ if &t_Co == 88
+ if a:n == 0
+ return 0
+ elseif a:n == 1
+ return 139
+ elseif a:n == 2
+ return 205
+ else
+ return 255
+ endif
+ else
+ if a:n == 0
+ return 0
+ else
+ return 55 + (a:n * 40)
+ endif
+ endif
+ endfun
+
+ " returns the palette index for the given R/G/B color indices
+ fun <SID>rgb_color(x, y, z)
+ if &t_Co == 88
+ return 16 + (a:x * 16) + (a:y * 4) + a:z
+ else
+ return 16 + (a:x * 36) + (a:y * 6) + a:z
+ endif
+ endfun
+
+ " returns the palette index to approximate the given R/G/B color levels
+ fun <SID>color(r, g, b)
+ " get the closest grey
+ let l:gx = <SID>grey_number(a:r)
+ let l:gy = <SID>grey_number(a:g)
+ let l:gz = <SID>grey_number(a:b)
+
+ " get the closest color
+ let l:x = <SID>rgb_number(a:r)
+ let l:y = <SID>rgb_number(a:g)
+ let l:z = <SID>rgb_number(a:b)
+
+ if l:gx == l:gy && l:gy == l:gz
+ " there are two possibilities
+ let l:dgr = <SID>grey_level(l:gx) - a:r
+ let l:dgg = <SID>grey_level(l:gy) - a:g
+ let l:dgb = <SID>grey_level(l:gz) - a:b
+ let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
+ let l:dr = <SID>rgb_level(l:gx) - a:r
+ let l:dg = <SID>rgb_level(l:gy) - a:g
+ let l:db = <SID>rgb_level(l:gz) - a:b
+ let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
+ if l:dgrey < l:drgb
+ " use the grey
+ return <SID>grey_color(l:gx)
+ else
+ " use the color
+ return <SID>rgb_color(l:x, l:y, l:z)
+ endif
+ else
+ " only one possibility
+ return <SID>rgb_color(l:x, l:y, l:z)
+ endif
+ endfun
+
+ " returns the palette index to approximate the 'rrggbb' hex string
+ fun <SID>rgb(rgb)
+ let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0
+ let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0
+ let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0
+
+ return <SID>color(l:r, l:g, l:b)
+ endfun
+
+ " sets the highlighting for the given group
+ fun <SID>X(group, fg, bg, attr)
+ if a:fg != ""
+ exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . <SID>rgb(a:fg)
+ endif
+ if a:bg != ""
+ exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . <SID>rgb(a:bg)
+ endif
+ if a:attr != ""
+ exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
+ endif
+ endfun
+ " }}}
+
+ call <SID>X("Normal", "cccccc", "000000", "")
+
+ " highlight groups
+ call <SID>X("Cursor", "708090", "f0e68c", "")
+ "CursorIM
+ "Directory
+ "DiffAdd
+ "DiffChange
+ "DiffDelete
+ "DiffText
+ "ErrorMsg
+ call <SID>X("VertSplit", "c2bfa5", "7f7f7f", "reverse")
+ call <SID>X("Folded", "ffd700", "4d4d4d", "")
+ call <SID>X("FoldColumn", "d2b48c", "4d4d4d", "")
+ call <SID>X("IncSearch", "708090", "f0e68c", "")
+ "LineNr
+ call <SID>X("ModeMsg", "daa520", "", "")
+ call <SID>X("MoreMsg", "2e8b57", "", "")
+ call <SID>X("NonText", "addbe7", "000000", "bold")
+ call <SID>X("Question", "00ff7f", "", "")
+ call <SID>X("Search", "f5deb3", "cd853f", "")
+ call <SID>X("SpecialKey", "9acd32", "", "")
+ call <SID>X("StatusLine", "c2bfa5", "000000", "reverse")
+ call <SID>X("StatusLineNC", "c2bfa5", "7f7f7f", "reverse")
+ call <SID>X("Title", "cd5c5c", "", "")
+ call <SID>X("Visual", "6b8e23", "f0e68c", "reverse")
+ "VisualNOS
+ call <SID>X("WarningMsg", "fa8072", "", "")
+ "WildMenu
+ "Menu
+ "Scrollbar
+ "Tooltip
+
+ " syntax highlighting groups
+ call <SID>X("Comment", "87ceeb", "", "")
+ call <SID>X("Constant", "ffa0a0", "", "")
+ call <SID>X("Identifier", "98fb98", "", "none")
+ call <SID>X("Statement", "f0e68c", "", "bold")
+ call <SID>X("PreProc", "cd5c5c", "", "")
+ call <SID>X("Type", "bdb76b", "", "bold")
+ call <SID>X("Special", "ffdead", "", "")
+ "Underlined
+ call <SID>X("Ignore", "666666", "", "")
+ "Error
+ call <SID>X("Todo", "ff4500", "eeee00", "")
+
+ " delete functions {{{
+ delf <SID>X
+ delf <SID>rgb
+ delf <SID>color
+ delf <SID>rgb_color
+ delf <SID>rgb_level
+ delf <SID>rgb_number
+ delf <SID>grey_color
+ delf <SID>grey_level
+ delf <SID>grey_number
+ " }}}
+else
+ " color terminal definitions
+ hi SpecialKey ctermfg=darkgreen
+ hi NonText cterm=bold ctermfg=darkblue
+ hi Directory ctermfg=darkcyan
+ hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
+ hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green
+ hi Search cterm=NONE ctermfg=grey ctermbg=blue
+ hi MoreMsg ctermfg=darkgreen
+ hi ModeMsg cterm=NONE ctermfg=brown
+ hi LineNr ctermfg=3
+ hi Question ctermfg=green
+ hi StatusLine cterm=bold,reverse
+ hi StatusLineNC cterm=reverse
+ hi VertSplit cterm=reverse
+ hi Title ctermfg=5
+ hi Visual cterm=reverse
+ hi VisualNOS cterm=bold,underline
+ hi WarningMsg ctermfg=1
+ hi WildMenu ctermfg=0 ctermbg=3
+ hi Folded ctermfg=darkgrey ctermbg=NONE
+ hi FoldColumn ctermfg=darkgrey ctermbg=NONE
+ hi DiffAdd ctermbg=4
+ hi DiffChange ctermbg=5
+ hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
+ hi DiffText cterm=bold ctermbg=1
+ hi Comment ctermfg=darkcyan
+ hi Constant ctermfg=brown
+ hi Special ctermfg=5
+ hi Identifier ctermfg=6
+ hi Statement ctermfg=3
+ hi PreProc ctermfg=5
+ hi Type ctermfg=2
+ hi Underlined cterm=underline ctermfg=5
+ hi Ignore ctermfg=darkgrey
+ hi Error cterm=bold ctermfg=7 ctermbg=1
+endif
+
+" vim: set fdl=0 fdm=marker:
64 .vim/colors/jedit.vim
@@ -0,0 +1,64 @@
+" Vim color file
+" Maintainer: Ajit J. Thakkar (ajit AT unb DOT ca)
+" Last Change: 2003 Sep. 02
+" Version: 1.0
+" URL: http://www.unb.ca/chem/ajit/vim.htm
+
+" This GUI-only color scheme has a blue-black background
+
+set background=light
+hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+
+let colors_name = "jEdit"
+
+hi Normal guifg=Black guibg=White
+
+" Groups used in the 'highlight' and 'guicursor' options default value.
+hi ErrorMsg gui=bold guifg=Red guibg=White
+hi IncSearch gui=NONE guibg=LightGreen guifg=Black
+hi ModeMsg gui=NONE guifg=fg guibg=bg
+hi StatusLine gui=NONE guifg=White guibg=#006699
+hi StatusLineNC gui=NONE guifg=#fffffe guibg=#2f2f6b
+hi VertSplit gui=bold guifg=Black guibg=White
+hi Visual gui=reverse guifg=#dbdbdb guibg=Black
+hi VisualNOS gui=underline guifg=fg guibg=bg
+hi DiffText gui=NONE guifg=Yellow guibg=LightSkyBlue4
+hi Cursor guibg=Black guifg=White
+hi lCursor guibg=Cyan guifg=Black
+hi Directory guifg=LightGreen guibg=bg
+hi LineNr guifg=#009966 guibg=bg
+hi MoreMsg gui=NONE guifg=SeaGreen guibg=bg
+hi NonText gui=NONE guifg=Black guibg=White
+hi Question gui=NONE guifg=LimeGreen guibg=bg
+hi Search gui=NONE guifg=SkyBlue4 guibg=Bisque
+hi SpecialKey guifg=Green guibg=bg
+hi Title gui=NONE guifg=#818762 guibg=bg
+hi WarningMsg guifg=Tomato3 guibg=Black
+hi WildMenu gui=NONE guifg=Black guibg=SkyBlue3
+hi Folded gui=bold guifg=#006699 guibg=bg
+hi FoldColumn guifg=DarkBlue guibg=Grey
+hi DiffAdd gui=NONE guifg=Blue guibg=LightCyan
+hi DiffChange gui=NONE guifg=white guibg=LightCyan4
+hi DiffDelete gui=NONE guifg=LightBlue guibg=LightCyan
+
+" Colors for syntax highlighting
+hi Constant gui=bold guifg=#3b8548 guibg=bg
+hi String gui=NONE guifg=#0e8493 guibg=bg
+hi Special gui=NONE guifg=Black guibg=bg
+hi Statement gui=bold guifg=#006699 guibg=bg
+"hi Statement gui=NONE guifg=#d7cd7b guibg=bg
+hi Operator gui=bold guifg=#006699 guibg=bg
+hi Ignore gui=NONE guifg=bg guibg=bg
+hi ToDo gui=NONE guifg=DodgerBlue guibg=bg
+hi Error gui=NONE guifg=Purple guibg=White
+hi Comment gui=NONE guifg=Green guibg=bg
+hi Comment gui=NONE guifg=#cc0000 guibg=bg
+hi Identifier gui=bold guifg=#2f2f6b guibg=bg
+hi PreProc gui=NONE guifg=#2f2f6b guibg=bg
+hi Type gui=bold guifg=#2f2f6b guibg=bg
+hi Underlined gui=underline guifg=fg guibg=bg
+
+" vim: sw=2
78 .vim/colors/marklar.vim
@@ -0,0 +1,78 @@
+" ------------------------------------------------------------------
+" Filename: marklar.vim
+" Last Modified: Nov, 01 2006 (19:34)
+" Maintainer: SM Smithfield (m_smithfield AT yahoo DOT com)
+" Copyright: 2006 SM Smithfield
+" This script is free software; you can redistribute it and/or
+" modify it under the terms of the GNU General Public License as
+" published by the Free Software Foundation; either version 2 of
+" the License, or (at your option) any later version.
+" Description: Vim colorscheme file.
+" Install: Put this file in the users colors directory (~/.vim/colors)
+" then load it with :colorscheme marklar
+" ------------------------------------------------------------------
+hi clear
+set background=dark
+if exists("syntax_on")
+ syntax reset
+endif
+let g:colors_name = "marklar"
+if version >= 700
+ hi SpellBad guisp=#FF0000
+ hi SpellCap guisp=#0000FF
+ hi SpellRare guisp=#ff4046
+ hi SpellLocal guisp=#000000 ctermbg=0
+ hi Pmenu guibg=#266955 ctermbg=0 ctermfg=6
+ hi PmenuSel guibg=#0B7260 cterm=bold ctermfg=3
+ hi PmenuSbar guibg=#204d40 ctermbg=6
+ hi PmenuThumb guifg=#38ff56 ctermfg=3
+ hi CursorColumn guibg=#096354
+ hi CursorLine guibg=#096354
+ hi Tabline guifg=bg guibg=fg gui=NONE cterm=reverse,bold ctermfg=NONE ctermbg=NONE
+ hi TablineSel guifg=#20012e guibg=#00a675 gui=bold
+ hi TablineFill guifg=#689C7C
+ hi MatchParen guifg=#38ff56 guibg=#0000ff gui=bold ctermbg=4
+endif
+
+hi Comment guifg=#00BBBB guibg=NONE ctermfg=6 cterm=none
+hi Constant guifg=#FFFFFF guibg=NONE ctermfg=7 cterm=none
+hi Cursor guifg=NONE guibg=#FF0000
+hi DiffAdd guifg=fg guibg=#136769 ctermfg=4 ctermbg=7 cterm=none
+hi DiffChange guifg=fg guibg=#096354 ctermfg=4 ctermbg=2 cterm=none
+hi DiffDelete guifg=fg guibg=#50694A ctermfg=1 ctermbg=7 cterm=none
+hi DiffText guifg=#7CFC94 guibg=#096354 ctermfg=4 ctermbg=3 cterm=none
+hi Directory guifg=#25B9F8 guibg=NONE ctermfg=2
+hi Error guifg=#FFFFFF guibg=#000000 ctermfg=7 ctermbg=0 cterm=bold
+hi ErrorMsg guifg=#8eff2e guibg=#204d40
+hi FoldColumn guifg=#00BBBB guibg=#204d40
+hi Folded guifg=#44DDDD guibg=#204d40 ctermfg=0 ctermbg=8 cterm=bold
+hi Identifier guifg=#38FF56 guibg=NONE gui=bold ctermfg=8 cterm=bold
+" completely invisible
+" hi Ignore guifg=bg guibg=NONE ctermfg=0
+" nearly invisible
+hi Ignore guifg=#467C5C guibg=NONE ctermfg=0
+hi IncSearch guibg=#52891f gui=bold
+hi LineNr guifg=#38ff56 guibg=#204d40
+hi ModeMsg guifg=#FFFFFF guibg=#0000FF ctermfg=7 ctermbg=4 cterm=bold
+hi MoreMsg guifg=#FFFFFF guibg=#00A261 ctermfg=7 ctermbg=2 cterm=bold
+hi NonText guifg=#00bbbb guibg=#204d40
+hi Normal guifg=#71C293 guibg=#06544a
+hi PreProc guifg=#25B9F8 guibg=bg gui=underline ctermfg=2 cterm=underline
+hi Question guifg=#FFFFFF guibg=#00A261
+hi Search guifg=NONE guibg=#0f7e7b ctermfg=3 ctermbg=0 cterm=bold
+hi SignColumn guifg=#00BBBB guibg=#204d40
+hi Special guifg=#00FFFF guibg=NONE gui=bold ctermfg=6 cterm=bold
+hi SpecialKey guifg=#00FFFF guibg=#266955
+hi Statement guifg=#FFFF00 guibg=NONE gui=bold ctermfg=3 cterm=bold
+hi StatusLine guifg=#245748 guibg=#71C293 gui=none cterm=reverse
+hi StatusLineNC guifg=#245748 guibg=#689C7C gui=none
+hi Title guifg=#7CFC94 guibg=NONE gui=bold ctermfg=2 cterm=bold
+hi Todo guifg=#FFFFFF guibg=#884400 ctermfg=6 ctermbg=4 cterm=none
+hi Type guifg=#FF80FF guibg=bg gui=bold ctermfg=2
+hi Underlined guifg=#df820c guibg=NONE gui=underline ctermfg=8 cterm=underline
+hi Visual guibg=#0B7260 gui=NONE
+hi WarningMsg guifg=#FFFFFF guibg=#FF0000 ctermfg=7 ctermbg=1 cterm=bold
+hi WildMenu guifg=#20012e guibg=#00a675 gui=bold ctermfg=none ctermbg=none cterm=bold
+"
+hi pythonPreCondit ctermfg=2 cterm=none
+hi tkWidget guifg=#D5B11C guibg=bg gui=bold ctermfg=7 cterm=bold
82 .vim/colors/slate2.vim
@@ -0,0 +1,82 @@
+set background=dark
+hi clear
+
+if exists("syntax_on")
+ syntax reset
+endif
+
+let colors_name="slate"
+
+if exists("g:slate_style")
+ let s:slate_style = g:slate_style
+else
+ let s:slate_style = 'slate'
+endif
+
+if s:slate_style == "bw"
+ hi Normal ctermbg=0 ctermfg=15 guibg=#1b1b1b guifg=#d0d0d0 gui=none
+
+ hi Cursor guibg=#e7e7e7 guifg=#000000 gui=bold
+ hi FoldColumn guibg=#3d3d3d guifg=fg gui=none
+ hi Folded guibg=#525252 guifg=fg gui=none
+ hi LineNr guibg=#292929 guifg=#a7a7a7 gui=none
+ hi NonText ctermfg=8 guibg=bg guifg=#878787 gui=bold
+ hi SignColumn guibg=#3d3d3d guifg=fg gui=none
+ hi StatusLine guibg=fg guifg=#000000 gui=bold
+ hi StatusLineNC ctermbg=7 ctermfg=0 guibg=#878787 guifg=#000000 gui=bold
+ hi VertSplit ctermbg=7 ctermfg=0 guibg=#878787 guifg=#000000 gui=bold
+ hi Visual ctermbg=7 ctermfg=0 guibg=#ababab guifg=#000000 gui=bold
+ hi VisualNOS guibg=bg guifg=#ababab gui=bold,underline
+ hi WildMenu guibg=#a0a0a0 guifg=#000000 gui=bold
+else
+ hi Normal ctermbg=0 ctermfg=15 guibg=#181b1f guifg=#d0d0d0 gui=none
+
+ hi Cursor guibg=#c6e2ff guifg=#000000 gui=bold
+ hi FoldColumn guibg=#363d45 guifg=fg gui=none
+ hi Folded guibg=#48525d guifg=fg gui=none
+ hi LineNr guibg=#24292e guifg=#a7a7a7 gui=none
+ hi NonText ctermfg=8 guibg=bg guifg=#878787 gui=bold
+ hi SignColumn guibg=#363d45 guifg=fg gui=none
+ hi StatusLine guibg=#9fb6cd guifg=#000000 gui=bold
+ hi StatusLineNC ctermbg=7 ctermfg=0 guibg=#6c7b8b guifg=#000000 gui=bold
+ hi VertSplit ctermbg=7 ctermfg=0 guibg=#6c7b8b guifg=#000000 gui=bold
+ hi Visual ctermbg=7 ctermfg=0 guibg=#8598ac guifg=#000000 gui=bold
+ hi VisualNOS guibg=bg guifg=#8598ac gui=bold,underline
+ hi WildMenu guibg=#e7e7e7 guifg=#000000 gui=bold
+endif
+
+hi Directory guibg=bg guifg=#1e90ff gui=none
+hi ErrorMsg guibg=#ee2c2c guifg=#ffffff gui=bold
+hi DiffAdd guibg=#008b00 guifg=fg gui=none
+hi DiffChange guibg=#00008b guifg=fg gui=none
+hi DiffDelete guibg=#8b0000 guifg=fg gui=none
+hi DiffText guibg=#00008b guifg=fg gui=bold
+hi IncSearch guibg=#e7e7e7 guifg=#000000 gui=bold
+hi ModeMsg guibg=bg guifg=fg gui=bold
+hi MoreMsg guibg=bg guifg=#d0d097 gui=bold
+hi Question guibg=bg guifg=#e0c07e gui=bold
+hi Search guibg=#bbbb87 guifg=#000000 gui=bold
+hi SpecialKey guibg=bg guifg=#a28b5b gui=none
+hi Title guibg=bg guifg=#e7e7e7 gui=bold
+hi WarningMsg guibg=bg guifg=#ee2c2c gui=bold
+
+hi Comment guibg=bg guifg=#bbbb87 gui=none
+hi Constant guibg=bg guifg=#8fe779 gui=none
+hi Error guibg=bg guifg=#ee2c2c gui=none
+hi Identifier guibg=bg guifg=#7ee0ce gui=none
+hi Ignore guibg=bg guifg=#373737 gui=none
+hi lCursor guibg=fg guifg=bg gui=bold
+hi PreProc guibg=bg guifg=#d7a0d7 gui=none
+hi Special guibg=bg guifg=#e0c07e gui=none
+hi Statement guibg=bg guifg=#7ec0ee gui=none
+hi Todo guibg=bg guifg=#bbbb87 gui=bold,underline
+hi Type guibg=bg guifg=#f09479 gui=none
+hi Underlined guibg=bg guifg=#1e90ff gui=underline
+
+hi htmlBold guibg=bg guifg=fg gui=bold
+hi htmlItalic guibg=bg guifg=fg gui=italic
+hi htmlUnderline guibg=bg guifg=fg gui=underline
+hi htmlBoldItalic guibg=bg guifg=fg gui=bold,italic
+hi htmlBoldUnderline guibg=bg guifg=fg gui=bold,underline
+hi htmlBoldUnderlineItalic guibg=bg guifg=fg gui=bold,underline,italic
+hi htmlUnderlineItalic guibg=bg guifg=fg gui=underline,italic
60 .vim/colors/synic.vim
@@ -0,0 +1,60 @@
+
+set background=dark
+hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+
+let colors_name = "synic"
+
+hi Normal guifg=ivory guibg=Black
+
+hi TabLineFill guifg=#272d2f guibg=#272d2f gui=None
+hi TabLine guifg=MistyRose3 guibg=#272d2f gui=None
+hi TabLineSel guifg=LightBlue3 guibg=#272d2f gui=None
+" Groups used in the 'highlight' and 'guicursor' options default value.
+hi ErrorMsg gui=NONE guifg=Red guibg=Linen
+hi IncSearch gui=NONE guibg=LightGreen guifg=Black
+hi ModeMsg gui=NONE guifg=fg guibg=bg
+hi StatusLine gui=NONE guifg=LightBlue3 guibg=#272d2f
+hi StatusLineNC gui=NONE guifg=MistyRose3 guibg=#272d2f
+hi VertSplit gui=NONE guifg=LightBlue4 guibg=Black
+hi Visual gui=reverse guifg=LightBlue4 guibg=Black
+hi VisualNOS gui=underline guifg=fg guibg=bg
+hi DiffText gui=NONE guifg=Yellow guibg=LightSkyBlue4
+hi Cursor guibg=Lavender guifg=Black
+hi lCursor guibg=Lavender guifg=Black
+hi Directory guifg=LightGreen guibg=bg
+hi LineNr guifg=LightBlue3 guibg=bg
+hi MoreMsg gui=NONE guifg=SeaGreen guibg=bg
+hi NonText gui=NONE guifg=Cyan4 guibg=Black
+hi Question gui=NONE guifg=LimeGreen guibg=bg
+hi Search gui=NONE guifg=SkyBlue4 guibg=Bisque
+hi SpecialKey guifg=Cyan guibg=bg
+hi Title gui=NONE guifg=Yellow2 guibg=bg
+hi WarningMsg guifg=Tomato3 guibg=Black
+hi WildMenu gui=NONE guifg=Black guibg=SkyBlue4
+hi Folded guifg=#f4aba2 guibg=bg
+hi FoldColumn guifg=DarkBlue guibg=Grey
+hi DiffAdd gui=NONE guifg=Blue guibg=LightCyan
+hi DiffChange gui=NONE guifg=white guibg=LightCyan4
+hi DiffDelete gui=None guifg=LightBlue guibg=LightCyan
+
+" Colors for syntax highlighting
+hi Constant gui=NONE guifg=MistyRose3 guibg=bg
+hi String gui=NONE guifg=LightBlue3 guibg=bg
+hi Special gui=NONE guifg=GoldenRod guibg=bg
+hi Statement gui=NONE guifg=khaki guibg=bg
+"hi Statement gui=NONE guifg=#d7cd7b guibg=bg
+hi Operator gui=NONE guifg=#8673e8 guibg=bg
+hi Ignore gui=NONE guifg=bg guibg=bg
+hi ToDo gui=NONE guifg=DodgerBlue guibg=bg
+hi Error gui=NONE guifg=Red guibg=Linen
+hi Comment gui=NONE guifg=SlateGrey guibg=bg
+hi Comment gui=NONE guifg=#62c600 guibg=bg
+hi Identifier gui=bold guifg=LightBlue4 guibg=bg
+hi PreProc gui=NONE guifg=#ffa0a0 guibg=bg
+hi Type gui=NONE guifg=NavajoWhite guibg=bg
+hi Underlined gui=underline guifg=fg guibg=bg
+
+" vim: sw=2
274 .vim/colors/zenburn.vim
@@ -0,0 +1,274 @@
+" Vim color file
+" Maintainer: Jani Nurminen <slinky@iki.fi>
+" Last Change: $Id: zenburn.vim,v 2.3 2008/07/30 17:34:37 slinky Exp $
+" URL: http://slinky.imukuppi.org/zenburnpage/
+" License: GPL
+"
+" Nothing too fancy, just some alien fruit salad to keep you in the zone.
+" This syntax file was designed to be used with dark environments and
+" low light situations. Of course, if it works during a daybright office, go
+" ahead :)
+"
+" Owes heavily to other Vim color files! With special mentions
+" to "BlackDust", "Camo" and "Desert".
+"
+" To install, copy to ~/.vim/colors directory. Then :colorscheme zenburn.
+" See also :help syntax
+"
+" Credits:
+" - Jani Nurminen - original Zenburn
+" - Steve Hall & Cream posse - higher-contrast Visual selection
+" - Kurt Maier - 256 color console coloring, low and high contrast toggle,
+" bug fixing
+" - Charlie - spotted too bright StatusLine in non-high contrast mode
+" - Pablo Castellazzi - CursorLine fix for 256 color mode
+"
+" CONFIGURABLE PARAMETERS:
+"
+" You can use the default (don't set any parameters), or you can
+" set some parameters to tweak the Zenburn colours.
+"
+" * You can now set a darker background for bright environments. To activate, use:
+" contrast Zenburn, use:
+"
+" let g:zenburn_high_Contrast = 1
+"
+" * To get more contrast to the Visual selection, use
+"
+" let g:zenburn_alternate_Visual = 1
+"
+" * To use alternate colouring for Error message, use
+"
+" let g:zenburn_alternate_Error = 1
+"
+" * The new default for Include is a duller orange. To use the original
+" colouring for Include, use
+"
+" let g:zenburn_alternate_Include = 1
+"
+" * To turn the parameter(s) back to defaults, use UNLET:
+"
+" unlet g:zenburn_alternate_Include
+"
+" Setting to 0 won't work!
+"
+" That's it, enjoy!
+"
+" TODO
+" - Visual alternate color is broken? Try GVim >= 7.0.66 if you have trouble
+" - IME colouring (CursorIM)
+
+set background=dark
+hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+let g:colors_name="zenburn"
+
+hi Boolean guifg=#dca3a3
+hi Character guifg=#dca3a3 gui=bold
+hi Comment guifg=#7f9f7f gui=italic
+hi Conditional guifg=#f0dfaf gui=bold
+hi Constant guifg=#dca3a3 gui=bold
+hi Cursor guifg=#000d18 guibg=#8faf9f gui=bold
+hi Debug guifg=#bca3a3 gui=bold
+hi Define guifg=#ffcfaf gui=bold
+hi Delimiter guifg=#8f8f8f
+hi DiffAdd guifg=#709080 guibg=#313c36 gui=bold
+hi DiffChange guibg=#333333
+hi DiffDelete guifg=#333333 guibg=#464646
+hi DiffText guifg=#ecbcbc guibg=#41363c gui=bold
+hi Directory guifg=#dcdccc gui=bold
+hi ErrorMsg guifg=#80d4aa guibg=#2f2f2f gui=bold
+hi Exception guifg=#c3bf9f gui=bold
+hi Float guifg=#c0bed1
+hi FoldColumn guifg=#93b3a3 guibg=#3f4040
+hi Folded guifg=#93b3a3 guibg=#3f4040
+hi Function guifg=#efef8f
+hi Identifier guifg=#efdcbc
+hi IncSearch guibg=#f8f893 guifg=#385f38
+hi Keyword guifg=#f0dfaf gui=bold
+hi Label guifg=#dfcfaf gui=underline
+hi LineNr guifg=#9fafaf guibg=#262626
+hi Macro guifg=#ffcfaf gui=bold
+hi ModeMsg guifg=#ffcfaf gui=none
+hi MoreMsg guifg=#ffffff gui=bold
+hi NonText guifg=#404040
+hi Number guifg=#8cd0d3
+hi Operator guifg=#f0efd0
+hi PreCondit guifg=#dfaf8f gui=bold
+hi PreProc guifg=#ffcfaf gui=bold
+hi Question guifg=#ffffff gui=bold
+hi Repeat guifg=#ffd7a7 gui=bold
+hi Search guifg=#ffffe0 guibg=#284f28
+hi SpecialChar guifg=#dca3a3 gui=bold
+hi SpecialComment guifg=#82a282 gui=bold
+hi Special guifg=#cfbfaf
+hi SpecialKey guifg=#9ece9e
+hi Statement guifg=#e3ceab gui=none
+hi StatusLine guifg=#313633 guibg=#ccdc90
+hi StatusLineNC guifg=#2e3330 guibg=#88b090
+hi StorageClass guifg=#c3bf9f gui=bold
+hi String guifg=#cc9393
+hi Structure guifg=#efefaf gui=bold
+hi Tag guifg=#e89393 gui=bold
+hi Title guifg=#efefef gui=bold
+hi Todo guifg=#dfdfdf guibg=bg gui=bold
+hi Typedef guifg=#dfe4cf gui=bold
+hi Type guifg=#dfdfbf gui=bold
+hi Underlined guifg=#dcdccc gui=underline
+hi VertSplit guifg=#2e3330 guibg=#688060
+hi VisualNOS guifg=#333333 guibg=#f18c96 gui=bold,underline
+hi WarningMsg guifg=#ffffff guibg=#333333 gui=bold
+hi WildMenu guibg=#2c302d guifg=#cbecd0 gui=underline
+
+hi SpellBad guisp=#bc6c4c guifg=#dc8c6c
+hi SpellCap guisp=#6c6c9c guifg=#8c8cbc
+hi SpellRare guisp=#bc6c9c guifg=#bc8cbc
+hi SpellLocal guisp=#7cac7c guifg=#9ccc9c
+
+" Entering Kurt zone
+if &t_Co > 255
+ hi Boolean ctermfg=181
+ hi Character ctermfg=181 cterm=bold
+ hi Comment ctermfg=108
+ hi Conditional ctermfg=223 cterm=bold
+ hi Constant ctermfg=181 cterm=bold
+ hi Cursor ctermfg=233 ctermbg=109 cterm=bold
+ hi Debug ctermfg=181 cterm=bold
+ hi Define ctermfg=223 cterm=bold
+ hi Delimiter ctermfg=245
+ hi DiffAdd ctermfg=66 ctermbg=237 cterm=bold
+ hi DiffChange ctermbg=236
+ hi DiffDelete ctermfg=236 ctermbg=238
+ hi DiffText ctermfg=217 ctermbg=237 cterm=bold
+ hi Directory ctermfg=188 cterm=bold
+ hi ErrorMsg ctermfg=115 ctermbg=236 cterm=bold
+ hi Exception ctermfg=249 cterm=bold
+ hi Float ctermfg=251
+ hi FoldColumn ctermfg=109 ctermbg=238
+ hi Folded ctermfg=109 ctermbg=238
+ hi Function ctermfg=228
+ hi Identifier ctermfg=223
+ hi IncSearch ctermbg=228 ctermfg=238
+ hi Keyword ctermfg=223 cterm=bold
+ hi Label ctermfg=187 cterm=underline
+ hi LineNr ctermfg=248 ctermbg=235
+ hi Macro ctermfg=223 cterm=bold
+ hi ModeMsg ctermfg=223 cterm=none
+ hi MoreMsg ctermfg=15 cterm=bold
+ hi NonText ctermfg=238
+ hi Number ctermfg=116
+ hi Operator ctermfg=230
+ hi PreCondit ctermfg=180 cterm=bold
+ hi PreProc ctermfg=223 cterm=bold
+ hi Question ctermfg=15 cterm=bold
+ hi Repeat ctermfg=223 cterm=bold
+ hi Search ctermfg=230 ctermbg=236
+ hi SpecialChar ctermfg=181 cterm=bold
+ hi SpecialComment ctermfg=108 cterm=bold
+ hi Special ctermfg=181
+ hi SpecialKey ctermfg=151
+ hi Statement ctermfg=187 ctermbg=234 cterm=none
+ hi StatusLine ctermfg=236 ctermbg=186
+ hi StatusLineNC ctermfg=235 ctermbg=108
+ hi StorageClass ctermfg=249 cterm=bold
+ hi String ctermfg=174
+ hi Structure ctermfg=229 cterm=bold
+ hi Tag ctermfg=181 cterm=bold
+ hi Title ctermfg=7 ctermbg=234 cterm=bold
+ hi Todo ctermfg=108 ctermbg=234 cterm=bold
+ hi Typedef ctermfg=253 cterm=bold
+ hi Type ctermfg=187 cterm=bold
+ hi Underlined ctermfg=188 ctermbg=234 cterm=bold
+ hi VertSplit ctermfg=236 ctermbg=65
+ hi VisualNOS ctermfg=236 ctermbg=210 cterm=bold
+ hi WarningMsg ctermfg=15 ctermbg=236 cterm=bold
+ hi WildMenu ctermbg=236 ctermfg=194 cterm=bold
+ hi CursorLine ctermbg=236 cterm=none
+
+ if exists("g:zenburn_high_Contrast")
+ hi Normal ctermfg=188 ctermbg=234
+ else
+ hi Normal ctermfg=188 ctermbg=237
+ hi Cursor ctermbg=109
+ hi diffadd ctermbg=237
+ hi diffdelete ctermbg=238
+ hi difftext ctermbg=237
+ hi errormsg ctermbg=237
+ hi foldcolumn ctermbg=238
+ hi folded ctermbg=238
+ hi incsearch ctermbg=228
+ hi linenr ctermbg=238
+ hi search ctermbg=238
+ hi statement ctermbg=237
+ hi statusline ctermbg=144
+ hi statuslinenc ctermbg=108
+ hi title ctermbg=237
+ hi todo ctermbg=237
+ hi underlined ctermbg=237
+ hi vertsplit ctermbg=65
+ hi visualnos ctermbg=210
+ hi warningmsg ctermbg=236
+ hi wildmenu ctermbg=236
+ endif
+endif
+
+if exists("g:zenburn_high_Contrast")
+ " use new darker background
+ hi Normal guifg=#dcdccc guibg=#1f1f1f
+ hi CursorLine guibg=#121212 gui=bold
+ hi Pmenu guibg=#242424 guifg=#ccccbc
+ hi PMenuSel guibg=#353a37 guifg=#ccdc90 gui=bold
+ hi PmenuSbar guibg=#2e3330 guifg=#000000
+ hi PMenuThumb guibg=#a0afa0 guifg=#040404
+ hi MatchParen guifg=#f0f0c0 guibg=#383838 gui=bold
+ hi SignColumn guifg=#9fafaf guibg=#181818 gui=bold
+ hi TabLineFill guifg=#cfcfaf guibg=#181818 gui=bold
+ hi TabLineSel guifg=#efefef guibg=#1c1c1b gui=bold
+ hi TabLine guifg=#b6bf98 guibg=#181818 gui=bold
+ hi CursorColumn guifg=#dcdccc guibg=#2b2b2b
+else
+ " Original, lighter background
+ hi Normal guifg=#dcdccc guibg=#3f3f3f
+ hi CursorLine guibg=#434443
+ hi Pmenu guibg=#2c2e2e guifg=#9f9f9f
+ hi PMenuSel guibg=#242424 guifg=#d0d0a0 gui=bold
+ hi PmenuSbar guibg=#2e3330 guifg=#000000
+ hi PMenuThumb guibg=#a0afa0 guifg=#040404
+ hi MatchParen guifg=#b2b2a0 guibg=#2e2e2e gui=bold
+ hi SignColumn guifg=#9fafaf guibg=#343434 gui=bold
+ hi TabLineFill guifg=#cfcfaf guibg=#353535 gui=bold
+ hi TabLineSel guifg=#efefef guibg=#3a3a39 gui=bold
+ hi TabLine guifg=#b6bf98 guibg=#353535 gui=bold
+ hi CursorColumn guifg=#dcdccc guibg=#4f4f4f
+endif
+
+
+if exists("g:zenburn_alternate_Visual")
+ " Visual with more contrast, thanks to Steve Hall & Cream posse
+ " gui=none fixes weird highlight problem in at least GVim 7.0.66, thanks to Kurt Maier
+ hi Visual guifg=#000000 guibg=#71d3b4 gui=none
+ hi VisualNOS guifg=#000000 guibg=#71d3b4 gui=none
+else
+ " use default visual
+ hi Visual guifg=#233323 guibg=#71d3b4 gui=none
+ hi VisualNOS guifg=#233323 guibg=#71d3b4 gui=none
+endif
+
+if exists("g:zenburn_alternate_Error")
+ " use a bit different Error
+ hi Error guifg=#ef9f9f guibg=#201010 gui=bold
+else
+ " default
+ hi Error guifg=#e37170 guibg=#332323 gui=none
+endif
+
+if exists("g:zenburn_alternate_Include")
+ " original setting
+ hi Include guifg=#ffcfaf gui=bold
+else
+ " new, less contrasted one
+ hi Include guifg=#dfaf8f gui=bold
+endif
+ " TODO check for more obscure syntax groups that they're ok
22 .vim/globalrc.vim
@@ -0,0 +1,22 @@
+colorscheme zenburn " set the theme
+let g:zenburn_high_Contrast=1 " higher contrast for the zenburn color scheme
+set autoindent " auto indent tabs when pressing enter
+set background=dark " set the background
+set expandtab " convert tabs to spaces
+set guifont=Liberation\ Mono\ 8 " set the appropriate font
+set guioptions='aegit' " set mouse options, and otherwise
+set laststatus=2 " always set a status line at the bottom
+set nobackup " don't create a .file.swp
+set nocompatible " don't use strict vi mode with vim and gvim
+set nojoinspaces " one space after the period joining sentences
+set nowrap " do not wrap long lines
+set number " number the lines on the left
+set ruler " show the line and column number of the cursor position in the status bar
+set shell=/bin/zsh " set the default shell
+set shiftwidth=4 " the number of charcters to shift with >> and <<
+set smarttab " smart backspace for identifying tabs when expandtab is used
+set softtabstop=4 " four characters when the tab key is pressed
+set t_Co=256 " tell vim that 256 colors are available
+set tabstop=8 " if the tab character is identified, use an 8 character width
+set textwidth=75 " wrap text at 75 lines
+syntax enable " enable syntax highlighting for config files and source code
1 .vimrc
@@ -0,0 +1 @@
+source ~/.vim/globalrc.vim
126 .zsh_prompt
@@ -0,0 +1,126 @@
+# Aaron Toponce's ZSH prompt
+# License: in the public domain
+# Update: Jan 25, 2010
+function precmd {
+ if [[ $UID -eq 0 ]]; then
+ PR_UID_COLOR="${PR_BOLD_RED}"
+ else
+ PR_UID_COLOR="${PR_BOLD_DEFAULT}"
+ fi
+ # Get version control information for several version control backends
+ if ( is-at-least 4.3.7 ); then
+ autoload -Uz vcs_info; vcs_info
+ zstyle ':vcs_info:*' formats ' %s:%b'
+ PR_VCS="${vcs_info_msg_0_}"
+ else
+ PR_VCS=""
+ fi
+
+ # Operating system version for each unix-like OS. 'uname' should exist
+ PR_OSVER="$(uname -s) $(uname -r)"
+
+ # The following 9 lines of code comes directly from Phil!'s ZSH prompt
+ # http://aperiodic.net/phil/prompt/
+ local TERMWIDTH
+ (( TERMWIDTH = ${COLUMNS} - 1 ))
+
+ local PROMPTSIZE=${#${(%):--- %D{%R.%S %a %b %d %Y}\! }}
+ local PWDSIZE=${#${(%):-%~}}
+
+ if [[ "$PROMPTSIZE + $PWDSIZE" -gt $TERMWIDTH ]]; then
+ (( PR_PWDLEN = $TERMWIDTH - $PROMPTSIZE ))
+ fi
+
+ # now let's change the color of the path if it's not writable
+ if [[ -w $PWD ]]; then
+ PR_PWDCOLOR="${PR_UID_COLOR}"
+ else
+ PR_PWDCOLOR="${PR_BOLD_RED}"
+ fi
+
+ # set a simple variable to show when in screen
+ if [[ -n "${WINDOW}" ]]; then
+ PR_SCREEN=" screen:${WINDOW}"
+ else
+ PR_SCREEN=""
+ fi
+
+ # check if jobs are executing
+ if [[ ${#jobstates} -gt 0 ]]; then
+ PR_JOBS=" jobs:%j"
+ else
+ PR_JOBS=""
+ fi
+
+ # I want to know my battery percentage when running on battery power
+ if which acpi &> /dev/null; then
+ local BATTSTATE="$(acpi -b 2> /dev/null)"
+ local BATTPRCNT="$(echo ${BATTSTATE[(w)4]}|sed -r 's/(^[0-9]+).*/\1/')"
+ if [[ -z "${BATTPRCNT}" ]]; then
+ PR_BATTERY=""
+ elif [[ "${BATTPRCNT}" -lt 15 ]]; then
+ PR_BATTERY="${PR_BOLD_RED} batt:${BATTPRCNT}%%"
+ elif [[ "${BATTPRCNT}" -lt 50 ]]; then
+ PR_BATTERY="${PR_BOLD_YELLOW} batt:${BATTPRCNT}%%"
+ elif [[ "${BATTPRCNT}" -lt 90 ]]; then
+ PR_BATTERY=" batt:${BATTPRCNT}%%"
+ else
+ PR_BATTERY=""
+ fi
+ fi
+}
+
+# If I am using vi keys, I want to know what mode I'm currently using.
+# zle-keymap-select is executed every time KEYMAP changes.
+# From http://zshwiki.org/home/examples/zlewidgets
+zle-keymap-select() {
+ if ( is-at-least 4.3.0 ); then
+ VIMODE="${${KEYMAP/vicmd/ vim:command}/(main|viins)}"
+ RPROMPT2="${PR_BOLD_BLUE}${VIMODE}"
+ zle reset-prompt
+ else
+ VIMODE=""
+ PROMPT2=""
+ fi
+}
+
+zle -N zle-keymap-select
+
+setprompt () {
+ # Need this, so the prompt will work
+ setopt prompt_subst
+
+ # let's load colors into our environment, then set them
+ autoload colors
+
+ if [[ "$terminfo[colors]" -gt 7 ]]; then
+ colors
+ fi
+
+ # The variables are wrapped in %{%}. This should be the case for every
+ # variable that does not contain space.
+ for COLOR in RED GREEN YELLOW BLUE BLACK; do
+ eval PR_$COLOR='%{$fg_no_bold[${(L)COLOR}]%}'
+ eval PR_BOLD_$COLOR='%{$fg_bold[${(L)COLOR}]%}'
+ done
+ eval PR_BOLD_DEFAULT='%{$fg_bold[default]%}'
+
+ # Finally, let's set the prompt
+ PROMPT='${PR_BOLD_RED}<${PR_RED}<${PR_BOLD_BLACK}<${PR_UID_COLOR} \
+%D{%R.%S %a %b %d %Y}${PR_RED}|${PR_PWDCOLOR}%${PR_PWDLEN}<...<%~%<<\
+
+${PR_BOLD_RED}<${PR_RED}<${PR_BOLD_BLACK}<\
+${PR_UID_COLOR} %n@%m (${PR_OSVER})${PR_RED}|${PR_UID_COLOR}%h${PR_BOLD_RED}\
+%(?.. exit:%?)${PR_BOLD_BLUE}${PR_SCREEN}${PR_JOBS}${PR_VCS}${PR_BATTERY}\
+${PR_BOLD_BLUE}${VIMODE}\
+
+${PR_BOLD_BLACK}>${PR_GREEN}>${PR_BOLD_GREEN}>\
+%{${reset_color}%} '
+
+ # Of course we need a matching continuation prompt
+ PROMPT2='${PR_BOLD_BLACK}>${PR_GREEN}>${PR_BOLD_GREEN}>\
+${PR_UID_COLOR} %_ ${PR_BOLD_BLACK}>${PR_GREEN}>\
+${PR_BOLD_GREEN}>%{${reset_color}%} '
+}
+
+setprompt
163 .zshrc
@@ -0,0 +1,163 @@
+# Make sure umask is set appropriately, login or not
+umask 0002
+
+# Variables for xterm and such
+#TERM="xterm-256color"
+#export LC_ALL="en_US.UTF-8"
+#TERM="xterm"
+HISTFILE=~"/.histfile"
+HISTSIZE="10000"
+SAVEHIST="10000"
+EDITOR="vim"
+VISUAL="vim"
+PAGER="less"
+NNTPSERVER="snews.eternal-september.org"
+
+if [ "$TERM" = "putty" ]; then
+ export LC_ALL=C
+fi
+
+# modifying the PATH adding the sbin directories
+path+=( /sbin /usr/sbin /usr/local/sbin )
+path=( ${(u)path} )
+
+# various options to set/unset
+setopt appendhistory
+setopt share_history
+unsetopt autocd beep
+autoload -U promptinit
+autoload -Uz compinit
+autoload is-at-least
+
+# modules to load
+promptinit
+compinit
+
+zstyle :compinstall filename '~/.zshrc'
+
+# keybindings. vim by default. others added for comfort
+bindkey -v
+bindkey -M viins '\e.' insert-last-word
+bindkey -M vicmd '\e.' insert-last-word
+bindkey -M viins '^r' history-incremental-search-backward
+bindkey -M viins '^f' history-incremental-search-forward
+
+# create a zkbd compatible hash;
+# to add other keys to this hash, see: man 5 terminfo
+typeset -A key
+key[Home]=${terminfo[khome]}
+key[End]=${terminfo[kend]}
+key[Insert]=${terminfo[kich1]}
+key[Delete]=${terminfo[kdch1]}
+key[Up]=${terminfo[kcuu1]}
+key[Down]=${terminfo[kcud1]}
+key[Left]=${terminfo[kcub1]}
+key[Right]=${terminfo[kcuf1]}
+key[PageUp]=${terminfo[kpp]}
+key[PageDown]=${terminfo[knp]}
+
+for k in ${(k)key} ; do
+ # $terminfo[] entries are weird in ncurses application mode...
+ [[ ${key[$k]} == $'\eO'* ]] && key[$k]=${key[$k]/O/[}
+done
+unset k
+
+# setup keys accordingly
+[[ -n "${key[Home]}" ]] && bindkey "${key[Home]}" beginning-of-line
+[[ -n "${key[End]}" ]] && bindkey "${key[End]}" end-of-line
+[[ -n "${key[Insert]}" ]] && bindkey "${key[Insert]}" overwrite-mode
+[[ -n "${key[Delete]}" ]] && bindkey "${key[Delete]}" delete-char
+[[ -n "${key[Up]}" ]] && bindkey "${key[Up]}" up-line-or-history
+[[ -n "${key[Down]}" ]] && bindkey "${key[Down]}" down-line-or-history
+[[ -n "${key[Left]}" ]] && bindkey "${key[Left]}" backward-char
+[[ -n "${key[Right]}" ]] && bindkey "${key[Right]}" forward-char
+
+# work specific aliases
+alias git.bo="ssh git.bo"
+alias clearstorage0='ssh-keygen -R storage0.cab1 && ssh-keygen -R storage0.cab1.la.bo && ssh-keygen -R 172.10.1.120'
+
+# general purpose aliases
+alias ls='ls --color=always -F'
+alias .='source'
+alias achilles='ssh achilles' # rely on ~/.ssh/config for fqdn and options
+alias poseidon='ssh poseidon'
+alias hera='ssh hera'
+alias kratos='ssh kratos'
+alias tunnelhome='pkill ssh; ssh -4fgN -D 8081 -L 8080:localhost:3128 -L 33306:localhost:3306 achilles'
+alias mounthome='sshfs achilles:/ /home/aaron/pthree'
+alias usbmodem="sudo pppd /dev/ttyACM0 call ppp-script-treo"
+alias clearstorage0='ssh-keygen -R storage0.cab1 && ssh-keygen -R storage0.cab1.la.bo && ssh-keygen -R 172.10.1.120'
+
+# general purpose functions
+expandurl() { wget -S $1 2>&1 | grep ^Location }
+shorturl() { wget -qO - 'http://ae7.st/s/yourls-api.php?signature=8e4f5d1d8d&action=shorturl&format=simple&url='$1 }
+
+if which dpkg &> /dev/null; then
+ # apt aliases for Debian-based systems
+ # alias pkg-clean="sudo apt-get autoclean && sudo apt-get autoremove && sudo aptitude clean && sudo aptitude remove"
+ # alias pkg-filesearch="apt-file search"
+ # aleas pkg-p
+ alias apt-clean="sudo apt-get autoclean && sudo apt-get autoremove && sudo aptitude clean && sudo aptitude remove"
+ if which apt-file > /dev/null; then
+ alias apt-filesearch="apt-file search";
+ fi
+ alias apt-install="sudo aptitude -R install"
+ if which deborphan > /dev/null; then
+ alias apt-orphand="sudo deborphan | xargs sudo aptitude -y purge";
+ #alias apt-clean="apt-clean && apt-orphand"
+ fi
+ alias apt-reinstall="sudo aptitude -R reinstall"
+ alias apt-remove="sudo aptitude remove"
+ alias apt-search="aptitude search"
+ alias apt-show="aptitude show"
+ alias apt-update="sudo aptitude update"
+ alias apt-upgrade="sudo aptitude update && sudo aptitude safe-upgrade"
+elif which rpm > /dev/null; then
+ # yum aliases for Red Hat-based systems
+ #alias yum-clean="sudo "
+fi
+
+# directory shortcuts
+alias home="cd ~/"
+alias desktop="cd ~/Desktop"
+
+# archives and compression
+extract() {
+ if [[ -f $1 ]]; then
+ case $1 in
+ *.tar.bz2) tar -xjf $1 ;;
+ *.tar.gz) tar -xzf $1 ;;
+ *.tar.lzma) tar --lzma -xf $1 ;;
+ *.bz2) bunzip2 $1 ;;
+ *.gz) gunzip $1 ;;
+ *.lzma) unlzma $1 ;;
+ *.rar) unrar -e $1 ;;
+ *.tar) tar -xf $1 ;;
+ *.tbz2) tar -xjf $1 ;;
+ *.tgz) tar -xzf $1 ;;
+ *.zip) unzip -d ${$1%???} $1 ;;
+ *.Z) gunzip $1 ;;
+ *.7z) 7z x $1 ;;
+ *) echo "Unsupported compressed file type." ;;
+ esac
+ else
+ echo "'$1' is not a valid file"
+ fi
+}
+
+mktar() { tar -cf "${1%%/}.tar" "${1%%/}/"; }
+mktgz() { tar -czf "${1%%/}.tar.gz" "${1%%/}/"; }
+mktbz() { tar -cjf "${1%%/}.tar.bz2" "${1%%/}/"; }
+mktlz() { tar --lzma -cf "${1%%/}.tar.lzma" "${1%%/}/"; }
+
+# We can't forget the prompt!
+source ~/.zsh_prompt
+
+#if [ "$PS1" ]; then
+# mkdir -p -m 0700 /dev/cgroup/cpu/user/$$ > /dev/null 2>&1
+# echo $$ > /dev/cgroup/cpu/user/$$/tasks
+# echo "1" > /dev/cgroup/cpu/user/$$/notify_on_release
+#fi
+DEBEMAIL="aaron.toponce@gmail.com"
+DEBFULLNAME="Aaron Toponce"
+export DEBEMAIL DEBFULLNAME
3 glider.txt
@@ -0,0 +1,3 @@
+. o . o . o . . o o . . . o .
+. . o . o o o . o . o o . . o
+o o o . o . . o o o o . o o o
4 personal.txt
@@ -0,0 +1,4 @@
+ _
+Aaron Toponce ( ) ASCII Ribbon Campaign
+www.aarontoponce.org X www.asciiribbon.org
+ / \
2 professional.txt
@@ -0,0 +1,2 @@
+Aaron Toponce
+System Administrator
13 synergy.conf
@@ -0,0 +1,13 @@
+section: screens
+ poseidon:
+ kratos:
+ halfDuplexCapsLock = true
+ halfDuplexNumLock = true
+ halfDuplexScrollLock = true
+end
+section: links
+ poseidon:
+ left = kratos
+ kratos:
+ right = poseidon
+end
3 ubuntu.txt
@@ -0,0 +1,3 @@
+ ,-O Aaron Toponce
+O } Ubuntu Member
+ `-O http://www.ubuntu.com

0 comments on commit 8898aad

Please sign in to comment.
Something went wrong with that request. Please try again.