From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zzapper <zsh@rayninfo.co.uk>
Cc: zsh-users@zsh.org
Subject: Re: Alias help
Date: Thu, 29 Apr 2021 14:13:13 +0000 [thread overview]
Message-ID: <20210429141313.GH28063@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <deffcf3c-0d2c-9f8f-99cb-04b8eb8efc6c@rayninfo.co.uk>
zzapper wrote on Thu, Apr 29, 2021 at 14:55:56 +0100:
>
> On 29/04/2021 14:30, Daniel Shahaf wrote:
> > zzapper wrote on Tue, Apr 27, 2021 at 08:10:54 +0100:
> > > Pity we don't have an online script tester for zsh (many for bash)
> > What would that do, and why need it be online?
> >
> > > I prefer an Alias to a Function where possible because it's easy to tab
> > > expand an alias and then if required tweak it
> > With a function, you run fned on it, then invoke edit-command-line and
> > delete the function's name on the first line, so you're left with an
> > anonymous function ready to be run.
>
> # did you mean
>
> zed -f myfunc
Yes.
next prev parent reply other threads:[~2021-04-29 14:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-26 22:55 Hoji, Aki
2021-04-26 23:15 ` Eric Cook
2021-04-27 7:10 ` zzapper
2021-04-27 20:41 ` Bart Schaefer
2021-04-29 13:30 ` Daniel Shahaf
2021-04-29 13:55 ` zzapper
2021-04-29 14:13 ` Daniel Shahaf [this message]
2021-04-27 13:06 ` Akihiko Hohji
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=20210429141313.GH28063@tarpaulin.shahaf.local2 \
--to=d.s@daniel.shahaf.name \
--cc=zsh-users@zsh.org \
--cc=zsh@rayninfo.co.uk \
/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).