Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Expanding ~ in configure --prefix etc.
- X-seq: zsh-users 14242
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Expanding ~ in configure --prefix etc.
- Date: Sun, 19 Jul 2009 21:29:54 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Xdoa+9V6cPCimZ1phryyiPewQJHFmyFYfvnoIC+ZUZs=; b=oIZkgNDMWqihb0k5FN5RAVfDt5t629s2hSC4JGuiKMDS5RBAuknEE7ZegBgFMzurhK Ek/B8x5gDZrW5CC6H7C8sNkpFZX64RBmPO3Fd11Wr/FDqpyJMEVWMHd23+1bfvwxotRT LRQer4tbLCOprkltKBI0fZIhkCFmuUXw9JxMM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=kVC5VARE8OLcX+jBpgPvV7jomKtNAJ7p7JumL+9xCWqlY7rNG4pY+Fm7/4zY5GV9h9 7N4V6/hDz+tUUSa7Uj7QlrKtXCLOzvC2BSQIyAcAx2M6q/gamIVhHmLV27cDl9FFWMmx 843itcxeFNnliVAMlG2NrwWBW6OfOPt06Eq+o=
- In-reply-to: <20090719192009.GA24216@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20090719192009.GA24216@xxxxxxxxxxxx>
2009/7/19 David Evans <David.Evans@xxxxxxxxxxxx>:
> Hihi.
>
> ./configure --prefix=~/foo<TAB> almost works well: completion is
> done on ~/foo. But that's what gets passed to configure: ~/foowhatever.
> Some Autoconf-generated configure scripts like the prefix to be an
> absolute pathname and to me having ~ in makefiles is a bit unclean.
>
> Presumably this can be fixed with ease, making the completion expand
> ~ appropriately. I could even figure out how to do it but haven't yet
> had the stamina for reading the completion docs. Pointers?
>
> Thanks, all!
Not sure how to make the completion expand it (or if you always want
to do it), but you can press ctrl-x * to expand it whenever you want.
(release ctrl before pressing *).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author