From 164c2b15a78d1fa1cefe592a91bce22accefbf28 Mon Sep 17 00:00:00 2001 From: William Ting Date: Tue, 26 Jun 2012 10:17:14 -1000 Subject: [PATCH] Update documentation regarding ZSH tab completion. --- README.md | 6 ++++++ docs/autojump.1 | 9 +++++++++ docs/body.md | 4 ++++ 3 files changed, 19 insertions(+) diff --git a/README.md b/README.md index 46e2fb9..6570c91 100644 --- a/README.md +++ b/README.md @@ -188,6 +188,12 @@ ADVANCED USAGE a different entry. In the above example, `j w in` would then jump you into /home/user/work/inbox. +- ZSH Tab Completion + + Tab completion requires two tabs before autojump will display the + completion menu. However if `setopt nolistambiguous` is enabled, + then only one tab is required. + - Change Directory Weight To manually change a directory's key weight, you can edit the file diff --git a/docs/autojump.1 b/docs/autojump.1 index e9bc9af..7dd9734 100644 --- a/docs/autojump.1 +++ b/docs/autojump.1 @@ -123,6 +123,15 @@ In the above example, \f[C]j\ w\ in\f[] would then jump you into /home/user/work/inbox. .RE .IP \[bu] 2 +ZSH Tab Completion +.RS 2 +.PP +Tab completion requires two tabs before autojump will display the +completion menu. +However if \f[C]setopt\ nolistambiguous\f[] is enabled, then only one +tab is required. +.RE +.IP \[bu] 2 Change Directory Weight .RS 2 .PP diff --git a/docs/body.md b/docs/body.md index ae09079..0dcf30f 100644 --- a/docs/body.md +++ b/docs/body.md @@ -47,6 +47,10 @@ Options must be passed to 'autojump' and not the 'j' wrapper function. `j in` would jump into /home/user/mail/inbox as the higher weighted entry. However you can pass multiple arguments to autojump to prefer a different entry. In the above example, `j w in` would then jump you into /home/user/work/inbox. +- ZSH Tab Completion + + Tab completion requires two tabs before autojump will display the completion menu. However if `setopt nolistambiguous` is enabled, then only one tab is required. + - Change Directory Weight To manually change a directory's key weight, you can edit the file _$XDG_DATA_HOME/autojump/autojump.txt_. Each entry has two columns. The first is the key weight and the second is the path: