Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: possible to disable zsh compatibility mode?
- X-seq: zsh-workers 4299
- From: "Zefram" <zefram@xxxxxxxxx>
- To: lew@xxxxxxxxxxxxxxxxxx (Paul Lew)
- Subject: Re: possible to disable zsh compatibility mode?
- Date: Wed, 12 Aug 1998 09:53:21 +0100 (BST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <9808112147.AA08406@xxxxxxxxxxxxxxxxxx> from "Paul Lew" at Aug 11, 98 05:47:43 pm
Paul Lew wrote:
> execl(shell, "sh", "-is", 0);
That's broken. I suggest you fix it. Alternatively, set your SHELL to
be the executable of this program:
extern char **environ;
int main(int argc, char **argv)
{
if(argc != 0)
argv[0] = "zsh";
execve("/usr/local/bin/zsh", argv, environ);
_exit(1);
}
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author