zsh-users
 help / color / mirror / code / Atom feed
From: "Jérémie Roquet" <arkanosis@gmail.com>
To: czech@sonic.net
Cc: zsh-users@zsh.org
Subject: Re: Function not found
Date: Thu, 20 Dec 2012 12:02:04 +0100	[thread overview]
Message-ID: <CAFOazANccMcu4QQsLAk9TCfDHTVoqgezN3a9KtJUQgB9BNeO1w@mail.gmail.com> (raw)
In-Reply-To: <37060.148.87.67.207.1355985863.squirrel@webmail.sonic.net>

Hi Corwin,

2012/12/20  <czech@sonic.net>:
> I have a function I use to connect to remote hosts. I call my function _ssh:
>
> _ssh() {
>     ssh -XC "czechar@$@"
> }

Not sure it's related to you problem, but functions the name of which
starts with an underscore are usually completion functions for zsh.
For example, _ssh would handle the completion of the ssh command.

> I thought I had told zsh not to correct my spelling for ssh via:
>
> alias ssh='nocorrect ssh'

Yes, but you've told it not to do this for this command only, not for
the _ssh command.

Anyway, you should not have to do such things — having an alias would
be enough to prevent zsh from correcting the command, while still
allowing it to correct the rest of the command line.

Have you tried to run the “rehash” command?

Best regards,

-- 
Jérémie


  parent reply	other threads:[~2012-12-20 11:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-19 15:22 forbidden variable in for loop Ray Andrews
2012-12-19 23:58 ` Danek Duvall
2012-12-19 16:03   ` Ray Andrews
2012-12-20  6:44     ` Function not found czech
2012-12-20  9:03       ` Brandon Sandrowicz
2012-12-20 11:02       ` Jérémie Roquet [this message]
2012-12-21 18:11         ` Bart Schaefer
2012-12-20  0:04 ` forbidden variable in for loop Frank Terbeck

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=CAFOazANccMcu4QQsLAk9TCfDHTVoqgezN3a9KtJUQgB9BNeO1w@mail.gmail.com \
    --to=arkanosis@gmail.com \
    --cc=czech@sonic.net \
    --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).