Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
expand-and-quote-alias
- X-seq: zsh-workers 23933
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: expand-and-quote-alias
- Date: Wed, 10 Oct 2007 22:58:41 +0000 (UTC)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxx>
Hi,
sometimes I want to not the whole alias. But expand-alias is useless,
because the expansion still uses the alias.
% alias ls='ls --color -lA'
I want it without -A
% ls<expand-alias>
% ls --color -lA
But this is
% ls --color -lA --color -lA
How can I do something like the following with one key, e.g. ^Xa
% ls<backward-word set-mark-command forward-word _expand-alias quote-region>
% 'ls --color -lA'
But, mhh, this is still not what I want. I want this:
% 'ls' --color -lA
How can I get it?
Bye, Jörg.
--
Computer Science is no more about Computers than astronomy is about
telescopes.
(Edsger Wybe Dijkstra)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author