dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

.zshrc (1106B)


      1 # Modules
      2 autoload -U promptinit colors compinit
      3 promptinit
      4 colors
      5 compinit
      6 
      7 # History related settings
      8 HISTFILE=~/.histfile
      9 HISTSIZE=100000
     10 SAVEHIST=100000
     11 
     12 # Use vim keybinds
     13 bindkey -v
     14 bindkey "^R" history-incremental-search-backward
     15 
     16 # Prompt style
     17 prompt off
     18 #source ~/Code/zsh-git-prompt/zshrc.sh # Enable git prompt
     19 #GIT_PROMPT_EXECUTABLE="haskell" # Use haskell for git prompt
     20 #PROMPT="%{%(#~$fg[magenta]~$fg[green])%}%m %~%b$(git_super_status) %# "
     21 PROMPT="%{%(#~$fg[magenta]~$fg[green])%}%m %~%b %# "
     22 
     23 # Source aliases
     24 [ -f ~/.aliases ] && source ~/.aliases
     25 [ -f ~/.config/ls_col ] && source ~/.config/ls_col
     26 [ -f ~/.config/bsd_colors ] && source ~/.config/bsd_colors
     27 
     28 # Vars
     29 export GPG_TTY=$(tty)
     30 
     31 # Completions
     32 zstyle ':completion:*:kill:*' command 'ps -e -o pid,%cpu,cmd'
     33 
     34 # Virtualenv wrapper
     35 #export WORKON_HOME=~/venvs
     36 #source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
     37 
     38 # Fish style history
     39 # source ~/Code/dotstuff/zsh-history-substring-search/zsh-history-substring-search.zsh
     40 # bindkey -M vicmd 'k' history-substring-search-up
     41 # bindkey -M vicmd 'j' history-substring-search-down