From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1410 invoked by alias); 28 Jul 2010 11:36:49 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15201 Received: (qmail 10714 invoked from network); 28 Jul 2010 11:36:46 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 74.125.82.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=tKeFWXVZw8QVaucRum99mpuqbK3aD5oklN0nHwbG6vc=; b=BoSWLdOGAA9G3GL5/God/rO7mC1diSDN0hSlrAT3J311c+rULc3lsx+SIfY9TKi78C vdWoQJINGr5uyFHo6CxRETWgfW0fX8lxcJfsuYwe8ycTQYwAx6gGf5hVbd3V9AkUDKzn Ozu6KPbebC7py5wD6rQH9jot0OPZIVJAzNNWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xE1G/LWKS7yVlT1RbpJidHzk4Na5BqLW9OuDcGok2/M5ECnhQDsOJkplzY54Z7WMTX TaWOdayk803emaOW9HIWMA8PyNpcnMgsZVVXQuh2jcJOx14gaYh0jWBGKT7S13FsYuJS ceU+Z5MHa1mdEepbG7Y0TLR01beg2QxQKWAHQ= MIME-Version: 1.0 Date: Wed, 28 Jul 2010 13:36:42 +0200 Message-ID: Subject: zfinit problem in ksh emulation mode From: Jerry Rocteur To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=000e0cd5272e281397048c7108fd --000e0cd5272e281397048c7108fd Content-Type: text/plain; charset=ISO-8859-1 Hi, I have a problem running zfinit in ksh emulation ( running zsh as a link from /usr/bin/ksh ) When I try: user@zambezi: autoload -U zfinit user@zambezi: zfinit zsh: zfinit: function not defined by file However if I run zsh like this (which I'm not allowed to do in scripts) user@zambezi: /bin/zsh [user@zambezi]/usr/share/zsh% autoload -U zfinit [user@zambezi]/usr/share/zsh% zfinit [user@zambezi]/usr/share/zsh% zfparams puma jro PassW0rd [user@zambezi]/usr/share/zsh% zfopen [user@zambezi]/usr/share/zsh% zfls .kshrc .rhosts .jrrc_hp .ssh It all works fine. So it is potentially possible. Is there some option I can set in my script so that when my script runs as: #!/usr/bin/ksh That this will work ... Thanks in advance, Jerry --000e0cd5272e281397048c7108fd--