Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Request for a hint
- X-seq: zsh-workers 960
- From: huyle@xxxxxxxxxxxxxxxx (Huy Le)
- To: mlist-zsh-list@xxxxxxxxxxxxxxxxxxxxxxx
- Subject: Re: Request for a hint
- Date: 27 Apr 1996 20:33:58 GMT
- Organization: California Institute of Technology, Pasadena, CA USA
- References: <zsh-list.199604260955.LAA00962@xxxxxxxxxxxxxxxxxxx>
- Reply-to: huyle@xxxxxxxxxxxxxxxx
In article <zsh-list.199604260955.LAA00962@xxxxxxxxxxxxxxxxxxx>,
Helmut Jarausch <jarausch@xxxxxxxxxxxxxxxxxxx> wrote:
>Hi all,
>can anybody give me a hint for doing the following in zsh - probably it's easy.
>
>Sometimes I do a very critical command using e.g. ~- or ~WORK like
>rm -rf ~-
>
>Before executing this command I would like to see the expansion of it
>(show me, what ~- really is)
>
>Is this possible with a keystroke?
I have the following binding:
bindkey '^G' list-expand
It's very useful to see the expansion of anything, like ~-, file*glob,
$PARAM, etc. You'll never erase the wrong file again!
- Huy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author