From: Jerry Rocteur <jerry.rocteur@gmail.com>
To: zsh-users@zsh.org
Subject: zfinit problem in ksh emulation mode
Date: Wed, 28 Jul 2010 13:36:42 +0200 [thread overview]
Message-ID: <AANLkTik1GPGh+erS9eHdjZBnZnsrFX7BiJVxWpo3G_Ud@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
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
next reply other threads:[~2010-07-28 11:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-28 11:36 Jerry Rocteur [this message]
2010-07-28 13:29 ` Peter Stephenson
2010-07-28 13:43 ` Jerry Rocteur
2010-07-28 15:19 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTik1GPGh+erS9eHdjZBnZnsrFX7BiJVxWpo3G_Ud@mail.gmail.com \
--to=jerry.rocteur@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).