zsh-users
 help / color / mirror / code / Atom feed
* zfinit problem in ksh emulation mode
@ 2010-07-28 11:36 Jerry Rocteur
  2010-07-28 13:29 ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Jerry Rocteur @ 2010-07-28 11:36 UTC (permalink / raw)
  To: zsh-users

[-- 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-28 15:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-28 11:36 zfinit problem in ksh emulation mode Jerry Rocteur
2010-07-28 13:29 ` Peter Stephenson
2010-07-28 13:43   ` Jerry Rocteur
2010-07-28 15:19     ` Peter Stephenson

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).