zsh-users
 help / color / mirror / code / Atom feed
From: vinurs <haiyuan.vinurs@gmail.com>
To: zsh-users@zsh.org
Subject: Does zsh functions have this feature?
Date: Mon, 2 Sep 2013 09:41:34 +0800	[thread overview]
Message-ID: <CAA=69ZdBkW_vEgWtGc3nf0Z-iDX-oiF+a2Xky3LAPMs7rrxBRA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

Hi all,
           As time goes on, my functions will be more and more. But, I
won't all of them will be treated as shell commands.
       In zsh, is there any feature like emacs lisp that  when I write a
function if I want it to be call by M-x, I should add
      (interactive)
       in it; if not, it will only be called by lisp programs.

             reply	other threads:[~2013-09-02  1:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-02  1:41 vinurs [this message]
2013-09-02 18:22 ` Bart Schaefer

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='CAA=69ZdBkW_vEgWtGc3nf0Z-iDX-oiF+a2Xky3LAPMs7rrxBRA@mail.gmail.com' \
    --to=haiyuan.vinurs@gmail.com \
    --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).