* Request for a hint
@ 1996-04-26 9:55 Helmut Jarausch
0 siblings, 0 replies; 2+ messages in thread
From: Helmut Jarausch @ 1996-04-26 9:55 UTC (permalink / raw)
To: zsh-list
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?
Thanks for any hints,
Helmut Jarausch.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Request for a hint
[not found] <zsh-list.199604260955.LAA00962@igpm.rwth-aachen.de>
@ 1996-04-27 20:33 ` Huy Le
0 siblings, 0 replies; 2+ messages in thread
From: Huy Le @ 1996-04-27 20:33 UTC (permalink / raw)
To: mlist-zsh-list
In article <zsh-list.199604260955.LAA00962@igpm.rwth-aachen.de>,
Helmut Jarausch <jarausch@igpm.rwth-aachen.de> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-04-27 22:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-26 9:55 Request for a hint Helmut Jarausch
[not found] <zsh-list.199604260955.LAA00962@igpm.rwth-aachen.de>
1996-04-27 20:33 ` Huy Le
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).