zsh-users
 help / color / mirror / code / Atom feed
From: Marc Chantreux <khatar@phear.org>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: make aliases work inside the function? (using a preprocessor?)
Date: Mon, 9 May 2016 14:30:51 +0200	[thread overview]
Message-ID: <20160509123051.GA29715@home.u-strasbg.fr> (raw)
In-Reply-To: <CAH+w=7bcZbDtS_c_B61LvYD=zdUMm2BMAxdkPCKs7RybO7OG4Q@mail.gmail.com>

Bart, Peter, Oliver: thank you very much for such a detailed answer.

i had some weird behaviors those last months experimenting some zsh based
features and now completly understand why. the thing is most of them are
very usefull to me and cannot be converted to functions

some examples:

https://github.com/eiro/zexperiment/blob/master/lib/basics.zsh#L34
https://github.com/eiro/zexperiment/blob/master/bin/uze.zsh#L55

the only way to make it work a reliable way is to use a preprocessor so
i plan to use m4.

once again: thanks for helping.

regards


      reply	other threads:[~2016-05-09 12:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-04 13:46 Marc Chantreux
2016-05-04 14:04 ` Peter Stephenson
2016-05-04 14:55 ` Oliver Kiddle
2016-05-04 17:21 ` Bart Schaefer
2016-05-09 12:30   ` Marc Chantreux [this message]

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=20160509123051.GA29715@home.u-strasbg.fr \
    --to=khatar@phear.org \
    --cc=schaefer@brasslantern.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).