[[ screen-256color == "dumb" ]] && unsetopt zle && return

source /usr/lib/prezto/runcoms/zpreztorc
zstyle ':prezto:module:editor' key-bindings 'emacs'

# Auto convert .... to ../..
zstyle ':prezto:module:editor' dot-expansion 'yes'
zstyle ':prezto:module:editor:info:keymap:primary' format '>>>'

zstyle ':prezto:module:prompt' theme 'moot'

zstyle ':prezto:load' pmodule   'archive'   'command-not-found'   'completion'   'directory'   'editor'   'environment'   'fasd'   'git'   'gnu-utility'   'history'   'pacman'   'spectrum'   'ssh'   'terminal'   'tmux'   'utility'   'wakeonlan'   'syntax-highlighting'   'history-substring-search'   'prompt' 

zstyle ':prezto:module:tmux:auto-start' local 'no'
zstyle ':prezto:module:tmux:auto-start' remote 'no'
export EDITOR="emacsclient -c -nw -s $USER"
