chiark / gitweb /
dot/zshrc: Sink completion setup.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 22 Sep 2017 10:30:03 +0000 (11:30 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 22 Sep 2017 10:30:03 +0000 (11:30 +0100)
Not quite sure why I did this, but I found it amid other wreckage on
crybaby.

dot/zshrc

index 9fcf111754564eb70091cb13ad139ad9408be927..8ee287a0f0f9e0303124ae74322b29a940cd4763 100644 (file)
--- a/dot/zshrc
+++ b/dot/zshrc
@@ -87,10 +87,6 @@ bindkey "\e " just-one-space
 ###--------------------------------------------------------------------------
 ### Completion.
 
-## Initialize the fancy completion machinery.
-autoload -Uz compinit
-compinit
-
 ## Contexts: :completion:FUNCTION:COMPLETER:COMMAND:ARGUMENT:TAG
 zstyle ':completion:*' completer _expand _complete _ignored _approximate
 zstyle ':completion:*' insert-unambiguous false
@@ -102,6 +98,10 @@ zstyle ':completion:*' original true
 zstyle ':completion:*' verbose false
 zstyle ':completion:*:*:git*:*' verbose true
 
+## Initialize the fancy completion machinery.
+autoload -Uz compinit
+compinit
+
 _r () { words[1]=sudo; _normal; }
 compdef _r rootly
 compdef _ssh @