Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: remote function problems.
- X-seq: zsh-users 2870
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: remote function problems.
- Date: Wed, 12 Jan 2000 19:20:33 +0000
- In-reply-to: "Scott Lipcon"'s message of "Wed, 12 Jan 2000 13:52:09 EST." <Pine.LNX.4.10.10001121346040.29524-100000@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
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@xxxxxxxxxxxxxxxxxxxxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author