# The following lines were added by compinstall

zstyle :compinstall filename '/compadmin/.zshrc'

autoload -U compinit
compinit
# End of lines added by compinstall

compdef -a _isi isi
compdef -a _isi_classic isi_classic

function listsysctls {
  reply=(`/usr/local/share/zsh/site-functions/sysctl-complete $1`)
}
compctl -K listsysctls -S "" sysctl

# Anything after isi_for_array is a command by itself. Autocomplete
# the actual command (like sysctl).
compctl -l '' isi_for_array

function _isi_test_thread {
  reply=(`/usr/bin/isi_test_thread "test_thread_complete($1)"`)
}
compctl -K _isi_test_thread -S "" isi_test_thread

# Alias cp, mv, and rm to be interactive
alias cp='cp -i'
alias rm='rm -i'
alias mv='mv -i'
alias ls='ls -z'

export HISTSIZE=1000
export HISTFILE=~/.zsh_history
export SAVEHIST=2000
export PYTHONSTARTUP=~/.pythonrc
setopt extended_history
setopt share_history
