Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Any Hints on showing ~-evaluation ?
- X-seq: zsh-users 199
- From: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- To: hzoli@xxxxxxxxxx (Zoltan Hidvegi)
- Subject: Re: Any Hints on showing ~-evaluation ?
- Date: Fri, 3 May 1996 17:32:24 +0100 (BST)
- Cc: jarausch@xxxxxxxxxxxxxxxxxxx, zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <199605031556.RAA23553@xxxxxxxxxxxxxxxxx> from "Zoltan Hidvegi" at May 3, 96 05:56:15 pm
>The expand-word zle function should probably do this. Unfortunately
>expanding tilde substitutions is deliberately disabled since if one wants
>to expand ~/$VAR she usually do not want to see her expanded home
>directory but only wants to expand $VAR. It is easy to change this
>behaviour but what is the desired behaviour here? E.g. expand everything
>except ~/ or expand only ~+ and ~- etc. Which do you prefer?
It might be nice to have another ZLE function to do this, but I don't
think it would be very usable. More practically, make list-expand do
all expansions, including tilde expansion. I often use list-expand
(which I have bound to ^G in both command and insert modes) to see
exactly what a glob pattern will expand to, and it would seem intuitive
for it to do tilde expansion too.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author