Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: override the built-in r command with /usr/local/bin/r
- X-seq: zsh-users 12234
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: override the built-in r command with /usr/local/bin/r
- Date: Tue, 20 Nov 2007 12:19:31 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Xul9z4BA5/XEu02+lKpOT3BTpkD4CMWHCM6y+Rwej1E=; b=sAl6y4mu9rUxHMRKTd2yhTVXtOb1MEZ1wt4ILmAARtud0uIxgzCuvatx7HU2J38O6HcSjOJy4AAyV2I+Pm9cB6E8to5oh5W5k1jd3iJBzLaAY9sPKMsu3QoDezNEEmBT+EMIMXiACgUffBK/OYBm50iuVlKBcKHKWCwzqb7NeQE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OngNWzU83NPNOaNGG2dQ5Js2zkm9AohAb9P57bp3U8OniJtmVlqFLDmCvUUxhWP+4cIXIuax3wCguXN/8PbhIkVQJHgIuTglJFdhhb8Ap8E8Jsso+VEOPnPAYrjoSHGFWlG4n5t9vC7mbt6U2oay+CitmCJzkghML8u+Ue6ikWc=
- In-reply-to: <62A7E6CC-A3FC-44FC-9B95-B883F44129EA@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <62A7E6CC-A3FC-44FC-9B95-B883F44129EA@xxxxxxxxx>
On 20/11/2007, Alexy Khrabrov <deliverable@xxxxxxxxx> wrote:
> Greetings -- I'd like to use littler, the R shell scripting driver from
>
> http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/LittleR
>
> Its executable is called just 'r'. Alas, when I try to invoke it or
> call a script starting with
>
> #!/usr/bin/env r
>
> zsh tells me no such luck. Apparently r repeats the previous
> command, and r N repeats history command number N.
>
> How do I override zsh's built-in r to become available for my regular r?
I think the shell script should work since /usr/bin/env has no idea
what zsh's builtins are... But for just calling r you can either
command r
or
disable r
r
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author