prezto/runcoms/zshrc

26 lines
678 B
Bash
Raw Normal View History

2012-01-31 23:37:51 -05:00
#
# Executes commands at the start of an interactive session.
2012-01-31 23:37:51 -05:00
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Source Prezto.
2012-09-03 16:13:53 -04:00
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
# Customize to your needs...
# huy: display non-success exit value for every command
# This cannot be put in a module as it's always scoped to the enclosing function
setopt printexitvalue
# Speed up git if requested by user
if ! zstyle -b ':huy:system' git-smart-file-complete 'dummy'; then
# http://talkings.org/post/5236392664/zsh-and-slow-git-completion
__git_files () {
_wanted files expl 'local files' _files
}
fi