From 0dc77df13cf0e2ebac3ebeb33cc4fff455827329 Mon Sep 17 00:00:00 2001 From: William Ting Date: Mon, 11 Feb 2013 10:34:08 -0600 Subject: [PATCH] Update docs on ZSH tab completion. Closes #178. --- README.md | 5 +++-- docs/autojump.1 | 5 +++-- docs/body.md | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 207788a..a6bcad4 100644 --- a/README.md +++ b/README.md @@ -185,9 +185,10 @@ ADDITIONAL CONFIGURATION - Enable ZSH Tab Completion ZSH tab completion requires the `compinit` module to be loaded. - Please add the following line to your \~/.zshrc: + Please add the following line to your \~/.zshrc *after* loading + autojump: - autoload -U compinit; compinit + autoload -U compinit && compinit - Always Ignore Case diff --git a/docs/autojump.1 b/docs/autojump.1 index c5b0ea5..e152f87 100644 --- a/docs/autojump.1 +++ b/docs/autojump.1 @@ -124,11 +124,12 @@ Enable ZSH Tab Completion .RS 2 .PP ZSH tab completion requires the \f[C]compinit\f[] module to be loaded. -Please add the following line to your ~/.zshrc: +Please add the following line to your ~/.zshrc \f[I]after\f[] loading +autojump: .IP .nf \f[C] -autoload\ -U\ compinit;\ compinit +autoload\ -U\ compinit\ &&\ compinit \f[] .fi .RE diff --git a/docs/body.md b/docs/body.md index f32b893..56aaabf 100644 --- a/docs/body.md +++ b/docs/body.md @@ -55,9 +55,9 @@ ADDITIONAL CONFIGURATION - Enable ZSH Tab Completion ZSH tab completion requires the `compinit` module to be loaded. - Please add the following line to your \~/.zshrc: + Please add the following line to your \~/.zshrc *after* loading autojump: - autoload -U compinit; compinit + autoload -U compinit && compinit - Always Ignore Case