zsh-users
 help / color / mirror / code / Atom feed
* Can't get tricky csh alias to work
@ 1995-06-24 23:12 Jose Unpingco
  1995-06-24 23:41 ` Zefram
  1995-06-25  7:18 ` Dave Sainty
  0 siblings, 2 replies; 3+ messages in thread
From: Jose Unpingco @ 1995-06-24 23:12 UTC (permalink / raw)
  To: zsh-users


hi,

I'm just getting into zsh and I have an alias from cshrc:

  alias ff   'find . -name "\!*" -print'

that I can't get converted to zsh.

any help much appreciated.

Thank you for your time and consideration.		-Jose Unpingco 


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

* Re: Can't get tricky csh alias to work
  1995-06-24 23:12 Can't get tricky csh alias to work Jose Unpingco
@ 1995-06-24 23:41 ` Zefram
  1995-06-25  7:18 ` Dave Sainty
  1 sibling, 0 replies; 3+ messages in thread
From: Zefram @ 1995-06-24 23:41 UTC (permalink / raw)
  To: Jose Unpingco; +Cc: Z Shell users mailing list

>I'm just getting into zsh and I have an alias from cshrc:
>
>  alias ff   'find . -name "\!*" -print'
>
>that I can't get converted to zsh.

ff () { find . -name "$*" -print }

-zefram


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

* Re: Can't get tricky csh alias to work
  1995-06-24 23:12 Can't get tricky csh alias to work Jose Unpingco
  1995-06-24 23:41 ` Zefram
@ 1995-06-25  7:18 ` Dave Sainty
  1 sibling, 0 replies; 3+ messages in thread
From: Dave Sainty @ 1995-06-25  7:18 UTC (permalink / raw)
  To: zsh-users; +Cc: Jose Unpingco

Jose Unpingco writes:

> I'm just getting into zsh and I have an alias from cshrc:
> 
>   alias ff   'find . -name "\!*" -print'
> 
> that I can't get converted to zsh.

Define it as a function instead of an alias

function ff { find . -name "$@" -print }

...and everything should work fine...

Dave


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

end of thread, other threads:[~1995-06-25 10:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-06-24 23:12 Can't get tricky csh alias to work Jose Unpingco
1995-06-24 23:41 ` Zefram
1995-06-25  7:18 ` Dave Sainty

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