From baf337979de2832ae6e2fd2d7f40e897d70a2435 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 8 Aug 2014 18:13:45 +0200 Subject: zshrc: Redo autoload/setops --- zsh/.zshrc | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'zsh/.zshrc') diff --git a/zsh/.zshrc b/zsh/.zshrc index 3752c20..29f863c 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,40 +1,40 @@ HISTFILE=~/.config/zsh/.zsh_history HISTSIZE=500000 SAVEHIST=500000 -setopt notify fpath=(~/.local/share/zsh/completion $fpath) zstyle :compinstall filename "$HOME/.config/zsh/.zshrc" -al=(colors - compinit - promptinit -) -autoload -Uz $al +autoload -Uz colors \ + compinit \ + promptinit \ + edit-command-line \ + run-help \ + zmv + compinit promptinit colors -shellopts=( - autocd - complete_aliases - extended_history - hist_verify - hist_ignore_all_dups - hist_save_no_dups - hist_ignore_space - hist_reduce_blanks - inc_append_history - interactive_comments - numeric_glob_sort - no_bg_nice - print_exit_value - prompt_subst -) -setopt $shellopts - zmodload zsh/mapfile +setopt autocd \ + complete_aliases \ + dotglob \ + extended_history \ + hist_verify \ + hist_ignore_all_dups \ + hist_save_no_dups \ + hist_ignore_space \ + hist_reduce_blanks \ + inc_append_history \ + interactive_comments \ + numeric_glob_sort \ + no_bg_nice \ + print_exit_value \ + prompt_subst \ + notify + # Menu completion zstyle ':completion:*' menu select -- cgit v1.2.3-54-g00ecf