From a714ad34d2fe98880bae25fb046b7ebd6a3f1693 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 8 Jan 2012 00:58:00 -0500 Subject: Pineapples --- _config/openbox/rc.xml | 18 +++++++++--------- _vimrc | 2 ++ _zshrc | 15 ++++++++------- 3 files changed, 19 insertions(+), 16 deletions(-) diff --git a/_config/openbox/rc.xml b/_config/openbox/rc.xml index f0f743da..be373857 100644 --- a/_config/openbox/rc.xml +++ b/_config/openbox/rc.xml @@ -90,14 +90,14 @@ Normal - - sans - 9 - - bold - - normal - + + + + + Sans + 8 + + @@ -402,7 +402,7 @@ --> - + diff --git a/_vimrc b/_vimrc index b7dd6b6f..20cb2441 100644 --- a/_vimrc +++ b/_vimrc @@ -98,3 +98,5 @@ set list set listchars=tab:»·,trail:· set smarttab + +command W :w " I often accidentally type :W when I mean :w diff --git a/_zshrc b/_zshrc index c272b998..60dd8a27 100644 --- a/_zshrc +++ b/_zshrc @@ -142,22 +142,23 @@ alias irb='ripl' function prompt_char { #[ -e ".git" ] && echo '+' && return - git branch &> /dev/null && echo '+' && return + #git branch &> /dev/null && echo '+' && return #[ -e ".hg" ] && echo '☿' && return - hg root &> /dev/null && echo '☿' && return + #hg root &> /dev/null && echo '☿' && return #echo '$' echo '%(!.#.$)' } function git_branch { #[ -e ".git" ] && echo ':'${"$(cat .git/HEAD)"##*/} + #git branch &> /dev/null && echo -e '\033[32m:\033[33m'${"$(git branch)"##* } && return } -#setopt PROMPT_SUBST -function chpwd { - PROMPT="%{$terminfo[bold]$fg[green]%}[%{$fg[blue]%}%30<..<%~$(git_branch)%{$fg[green]%}]$(prompt_char)%{$terminfo[sgr0]$reset_color%} " -} -chpwd +#setopt prompt_subst +#function chpwd { +PROMPT="%{$terminfo[bold]$fg[green]%}[%{$fg[blue]%}%30<..<%~$(git_branch)%{$fg[green]%}]$(prompt_char)%{$terminfo[sgr0]$reset_color%} " +#} +#chpwd RPROMPT="%(?..%{$terminfo[bold]$fg[green]%}[%{$fg[red]%}%?%{$fg[green]%}]%{$terminfo[sgr0]%})" source ~/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -- cgit 1.4.1