You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
678 B
26 lines
678 B
#
|
|
# Executes commands at the start of an interactive session.
|
|
#
|
|
# Authors:
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
#
|
|
|
|
# Source Prezto.
|
|
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
|