Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: TAB-expansion problems
- X-seq: zsh-users 8592
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: TAB-expansion problems
- Date: Sun, 13 Mar 2005 04:50:36 +0000
- In-reply-to: <20050311.193734.78721293.Meino.Cramer@xxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050310.194249.41192134.Meino.Cramer@xxxxxx> <1050311051417.ZM9377@xxxxxxxxxxxxxxxxxxxxxxx> <20050311.193734.78721293.Meino.Cramer@xxxxxx>
On Mar 11, 7:37pm, Meino Christian Cramer wrote:
}
} Suppose I am at my $HOME/tmp/. directory. Furthermore there is only
} ONE additional directory called "TheLonelyOne" there. And I want to
} to change into that directory. As a lazy person now I would type on
} the commandline
}
} cd <TAB>
}
} and want to get
}
} cd TheLonelyOne
}
} then instead all worldwide reachable directories as a suggestion.
As Tim Kruse has said, the likelyhood here is that zsh is suggesting
subdirectories of the directories listed in your cdpath. If you add
the following style you'll get better information:
zstyle ':completion:*' format '%SCompleting %U%d%u%s'
After you've tried that, so you've seen what's going on, you can then
add this style:
zstyle :completion::complete:cd:: tag-order \
local-directories path-directories
The tag-order style controls which sets of matches are displayed. In
the example above, local-directories are preferred, and only when no
local directories are found are path-directories (those found along
your cdpath) shown. The default is to display all sets of matches at
the same time.
} From my current point of knowledge I didn't neither know the correct
} naming for that behaviour
It's "completion".
Messages sorted by:
Reverse Date,
Date,
Thread,
Author