aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-08 18:13:45 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-08-08 18:13:45 +0200
commitbaf337979de2832ae6e2fd2d7f40e897d70a2435 (patch)
treeff498a1fc4565de43a2e3a6daab5c1d2336fc973 /zsh/.zshrc
parentd958347781b0c87316bde836ba63efad70f7d391 (diff)
downloaddotfiles-baf337979de2832ae6e2fd2d7f40e897d70a2435.tar.xz
zshrc: Redo autoload/setops
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc48
1 files changed, 24 insertions, 24 deletions
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