view zshrc @ 158:7b712c989aad

Revert "Add k plugin" This reverts commit c0c0db480ba70ef1f412c3ff9a22597ee45d6e62.
author zegervdv <zegervdv@me.com>
date Thu, 23 Oct 2014 20:37:02 +0200
parents 318c21a3243c
children 4c6e4d53f8f6
line wrap: on
line source

source ~/.zsh/colors.zsh
source ~/.zsh/setopt.zsh
source ~/.zsh/exports.zsh
source ~/.zsh/prompt.zsh
source ~/.zsh/completion.zsh
source ~/.zsh/aliases.zsh
source ~/.zsh/bindkeys.zsh
source ~/.zsh/history.zsh
source ~/.zsh/zsh_hooks.zsh

# Plugins
source ~/.fzf.zsh
source ~/.zsh/zsh-history-substring-search.zsh
source ~/.zsh/z.sh
source ~/.zsh/plugins/zsh-autosuggestions/autosuggestions.zsh

precmd() {
  if [[ -n "$TMUX" ]]; then
    export TERM=screen-256color
    tmux setenv "$(tmux display -p 'TMUX_PWD_#D')" "$PWD"
  fi
}

# Enable autosuggestions automatically
zle-line-init() {
    zle autosuggest-start
}
zle -N zle-line-init


[[ -f ~/.zshrc.local ]] && source ~/.zshrc.local