zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-users@sunsite.auc.dk
Subject: Re: remote function problems.
Date: Wed, 12 Jan 2000 19:20:33 +0000	[thread overview]
Message-ID: <E128THU-0003Ox-00.2000-01-12-19-18-08@cmailg3.svr.pol.co.uk> (raw)
In-Reply-To: "Scott Lipcon"'s message of "Wed, 12 Jan 2000 13:52:09 EST." <Pine.LNX.4.10.10001121346040.29524-100000@chimera.acm.jhu.edu>

Scott Lipcon wrote:
> $ ssh hostname zsh -c function
> slipcon's password:
> zsh: command not found: function
> $
> 
> this is because I load my functions in my .zshrc - they're all in a file
> called zfunc, and I say:
> 
> 
> # load functions (necessary for completions)
> [[ -r $HOME/.zsh/zfunc ]] && source $HOME/.zsh/zfunc
> 
> in my zshrc.  (which is directly before I load in my completions, which
> are in $HOME/.zsh/zcomp)

You should move the code (and anything it depends on) to ~/.zshenv and
everything will work without the -i.

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


  reply	other threads:[~2000-01-12 19:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-11  4:49 Scott Lipcon
2000-01-12  7:29 ` Andrej Borsenkow
2000-01-12 18:52   ` Scott Lipcon
2000-01-12 19:20     ` Peter Stephenson [this message]
2000-01-13  8:43       ` Andrej Borsenkow
2000-01-13  9:32         ` Zefram

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=E128THU-0003Ox-00.2000-01-12-19-18-08@cmailg3.svr.pol.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --cc=zsh-users@sunsite.auc.dk \
    /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).