# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh

# Set to the name theme to load.
# Look in ~/.oh-my-zsh/themes/
export ZSH_THEME="mfontani"

# Set to this to use case-sensitive completion
# export CASE_SENSITIVE="true"

# Comment this out to disable weekly auto-update checks
# export DISABLE_AUTO_UPDATE="true"

# Uncomment following line if you want to disable colors in ls
# export DISABLE_LS_COLORS="true"

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git)

source $ZSH/oh-my-zsh.sh

# Customize to your needs...
alias vi=vim

bindkey "\e[1;5D" backward-word
bindkey "\e[1;5C" forward-word

bindkey "\e[1~" beginning-of-line
bindkey "\e[4~" end-of-line
#bindkey "\e[5~" beginning-of-history
#bindkey "\e[6~" end-of-history
bindkey "\e[3~" delete-char
bindkey "\e[2~" quoted-insert
bindkey "\e[5C" forward-word
bindkey "\eOc" emacs-forward-word
bindkey "\e[5D" backward-word
bindkey "\eOd" emacs-backward-word
bindkey "\e\e[C" forward-word
bindkey "\e\e[D" backward-word

# for non RH/Debian xterm, can't hurt for RH/Debian xterm
bindkey "\eOH" beginning-of-line
bindkey "\eOF" end-of-line

export EDITOR=/usr/bin/vim

export PATH=/home/okram/bin:/home/okram/.vim/bin:$PATH

if [[ -d /home/okram/perl5/perlbrew/ ]]; then
    source /home/okram/perl5/perlbrew/etc/bashrc
fi

alias G='cd /home/okram/GIT'

export PACMAN=pacman-color

export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[01;32;5;74m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # end mode
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
export LESS_TERMCAP_so=$'\E[32;5;246m' # begin standout-mode - info box
export LESS_TERMCAP_ue=$'\E[0m' # end underline
export LESS_TERMCAP_us=$'\E[04;32;5;146m' # begin underline

# LS_COLORS
MY_LS_COLORS="*.do=38;5;91:*.txt=38;5;173:*.conf=38;5;42:*.PL=38;5;137:*.pl=38;5;193:*.pdf=1;38;5;140"
if [ -z "$LS_COLORS" ]; then
    export LS_COLORS="$MY_LS_COLORS"
else
    export LS_COLORS="$LS_COLORS:$MY_LS_COLORS"
fi

