zsh-users
 help / color / mirror / code / Atom feed
* site-function for completion from specific directory
@ 2014-08-26 13:00 Eric Smith
  2014-08-26 13:46 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Smith @ 2014-08-26 13:00 UTC (permalink / raw)
  To: Zsh Users

Oh zshellers,

This is my use case.

I want to complete the following command;
mutt -f [foo]<tab>

so that it expands nothing or the string `foo' as if they were
~/Mail/<tab> or ~/Mail/foo<tab>
respectively.

How would I write a compdef site-function for this and also
ideally for my shell function wrapper around `mutt -f'?

-- 
Eric Smith


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-26 13:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-26 13:00 site-function for completion from specific directory Eric Smith
2014-08-26 13:46 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).