zsh-users
 help / color / mirror / code / Atom feed
* "Fallback" alias/function in zsh
@ 1998-12-08 22:04 Paul Moore
  1998-12-08 23:50 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Moore @ 1998-12-08 22:04 UTC (permalink / raw)
  To: zsh-users

Hi,
Is it possible to define a function which gets used whenever zsh's
normal alias/function/builtin/path lookup fails? The best example I can
give of what I'm after is using zsh for Win32 (which is version 3.0.5).
There, I'd like to have access to the good old CMD.EXE builtins, like
DIR (at the moment, I don't have a working Unix-like ls). So, I thought,
how about defining a function to be called "when all else fails" which
does "CMD /C <the command I typed>"? But I couldn't find a way of doing
this.

Is it possible, or if not, would it be a useful addition?

Paul Moore


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

end of thread, other threads:[~1998-12-09  2:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-08 22:04 "Fallback" alias/function in zsh Paul Moore
1998-12-08 23:50 ` Bart Schaefer
1998-12-09  1:19   ` Phil Pennock
1998-12-09  2:55     ` Bart Schaefer

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