From e86cdf903015e1ebe8de1e0881a1824bb1095803 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 28 Nov 2013 11:21:16 +0900 Subject: [PATCH] shrc: fix zsh completions --- shrc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/shrc b/shrc index 8b17f67..5d703bd 100755 --- a/shrc +++ b/shrc @@ -212,11 +212,20 @@ then autoload compinit; compinit # supress cycle by tab unsetopt auto_menu + # unsetopt correct + setopt auto_list setopt bash_auto_list + setopt magic_equal_subst + setopt list_types zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*' format '%B%d%b' zstyle ':completion:*' group-name '' zstyle ':completion:*' use-cache yes + # zstyle ':completion:*:cd:*' tag-order local-directories + zstyle ':completion:*' completer _complete _bash_completions \ + _history + # zstyle ':completion:*:*:cd:*' completer + zstyle ':completion:*' accept-exact-dirs true autoload colors; colors @@ -224,9 +233,9 @@ then # promptinit # prompt walters - setopt magic_equal_subst setopt hist_ignore_dups setopt share_history + setopt prompt_subst fi