zsh-workers
 help / color / mirror / code / Atom feed
* expand-and-quote-alias
@ 2007-10-10 22:58 Jörg Sommer
  2007-10-11  8:59 ` expand-and-quote-alias Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Jörg Sommer @ 2007-10-10 22:58 UTC (permalink / raw)
  To: zsh-workers

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)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-11 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-10 22:58 expand-and-quote-alias Jörg Sommer
2007-10-11  8:59 ` expand-and-quote-alias Peter Stephenson
2007-10-11 13:36   ` expand-and-quote-alias Jörg Sommer

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).