Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zfinit problem in ksh emulation mode
- X-seq: zsh-users 15201
- From: Jerry Rocteur <jerry.rocteur@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: zfinit problem in ksh emulation mode
- Date: Wed, 28 Jul 2010 13:36:42 +0200
- 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=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author