From: Scott Lipcon <slipcon@acm.jhu.edu>
To: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
Cc: Scott Lipcon <slipcon@ugrad.cs.jhu.edu>, zsh-users@sunsite.auc.dk
Subject: RE: remote function problems.
Date: Wed, 12 Jan 2000 13:52:09 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.10.10001121346040.29524-100000@chimera.acm.jhu.edu> (raw)
In-Reply-To: <000201bf5cce$c2a9f5c0$21c9ca95@mow.siemens.ru>
On Wed, 12 Jan 2000, Andrej Borsenkow wrote:
> You most probably have call to stty in your .zshrc or /etc/zshrc (that is being
> executed for every interactive shell; and you force your shell to be interactive
> with -i option).
yes, I do have a stty erase call in my .zshrc
> 1. Do not use -i option. Why do you need it?
if I don't specify -i, it doesn't find my functions... I get:
$ 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)
>
> 2. Wrap call to stty around
>
> if [[ -t 0 ]]; then
> stty ...
> fi
that worked, although maybe I'm not going about it the right way. Any
more suggestions about my problem are welcome! Thanks for your help.
Scott
next prev parent reply other threads:[~2000-01-12 18:52 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 [this message]
2000-01-12 19:20 ` Peter Stephenson
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=Pine.LNX.4.10.10001121346040.29524-100000@chimera.acm.jhu.edu \
--to=slipcon@acm.jhu.edu \
--cc=Andrej.Borsenkow@mow.siemens.ru \
--cc=slipcon@ugrad.cs.jhu.edu \
--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).