Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Expanding ~ in configure --prefix etc.



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