zsh-users
 help / color / mirror / code / Atom feed
* Command alias in non-command position
@ 1998-08-26 15:42 Andrej Borsenkow
  1998-08-26 16:35 ` Bruce Stephens
  0 siblings, 1 reply; 15+ messages in thread
From: Andrej Borsenkow @ 1998-08-26 15:42 UTC (permalink / raw)
  To: ZSH users mailing list

I have some often used aliases, e.g. 

vi=elvis
view='elvis -R'
etc

Unfortunately, if I try to do e.g.

sudo vi ...

The /usr/bin/vi is started instead of elvis.

Is there any easy way to use my lovely aliases in this case?

thank you

/Andrej


^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: 'man' completion
@ 1998-08-31  8:57 Stephen Riehm
  0 siblings, 0 replies; 15+ messages in thread
From: Stephen Riehm @ 1998-08-31  8:57 UTC (permalink / raw)
  To: guckes; +Cc: zsh-users




Hi,

for what it's worth, I used to use the whatis database and grep - this of
course only works as long as your whatis database is up to date.

Steve




guckes@math.fu-berlin.de on 28.08.98 18:42:31

To:   zsh-users@math.gatech.edu
cc:
Subject:  Re: 'man' completion





Quoting Bart Schaefer (schaefer@brasslantern.com):
> The only missing bit being that if you want to use the section
> number to restrict the search (i.e. "man 5 x<TAB>" completes only
> to "xferlog" and not to "xterm" etc.), then you need a function.

Such as?  ;-)

I presume there must be some non-plus-ultra completion control for "man".
But which *is* the best?

Sven  [hoping to see more of this on this maillist]






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

end of thread, other threads:[~1998-09-01 13:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-26 15:42 Command alias in non-command position Andrej Borsenkow
1998-08-26 16:35 ` Bruce Stephens
1998-08-26 17:01   ` Zefram
1998-08-26 17:13     ` Bruce Stephens
1998-08-26 17:26       ` Andrej Borsenkow
1998-08-26 17:49       ` Bart Schaefer
1998-08-26 17:36   ` Bart Schaefer
1998-08-27  1:51     ` 'man' completion Gossamer
1998-08-27  9:14       ` Bruce Stephens
1998-08-27 17:09         ` Bart Schaefer
1998-08-28 16:42           ` Sven Guckes
1998-08-28 17:58             ` Bart Schaefer
1998-08-30 17:03               ` maillist archive lacking search engine Sven Guckes
1998-09-01 12:51     ` Command alias in non-command position Wayne Davison
1998-08-31  8:57 'man' completion Stephen Riehm

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