Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: option to show file:line everytime echo is called?
- X-seq: zsh-users 22373
- From: Timothee Cour <timothee.cour2@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: option to show file:line everytime echo is called?
- Date: Fri, 13 Jan 2017 00:31:49 -0800
- Cc: zsh-users@xxxxxxx, Timothee Cour <timothee.cour2@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=dRNSuicZ+hbApbWjEhd+HnE4FXRKa3MCCHvhNmyb+i4=; b=dty2ofyUqpiTSRh1P3TKlQ8UbU/0PHqNV+oV75NIvVdFWlVskTkWvAL/2vBr5X36rd lf7ZbHlvoorUMWTuZqxcJ71+ZqQif/gIb11RAYV9YkBbQf53mdN0s6nY99TO5D/3Tu0N 1qzz2Y2wzcq9rv82ZOUsMGllvqijZJFEAtl+bi64xFctRyC/3v4iN7BdMODHEVeJzx26 s8kZbvsNfC2J0RcPQ9vMeaPTtQnrXz+RyzOaovM+mK22L+2hQQ7OOttyHSrcYHO+vZUX IW5tJRQX7JYZZFQuvLl+/a07dUaOskUZVzrzYaGkaYxk5sPFxpiuHeKZjFbx0KrrlynC FU5Q==
- In-reply-to: <alpine.LRH.2.00.1701130005240.4560@toltec.zanshin.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CGME20170110091259epcas5p14d052ee1dc7ebb5c4dd74e4aa02a8d18@epcas5p1.samsung.com> <CANri+EzTiiKkfeDODR8PyBc=khLFONk738sFp7Vpo4uzwKMoXw@mail.gmail.com> <20170110093042.41111f8a@pwslap01u.europe.root.pri> <CANri+EwT3h8MkpeKSd-9_QLp9S=TEibmSgjS3r9mv0jY46dQAw__39244.7733007886$1484262699$gmane$org@mail.gmail.com> <20170113035730.GA1812@fujitsu.shahaf.local2> <alpine.LRH.2.00.1701122304500.4560@toltec.zanshin.com> <alpine.LRH.2.00.1701130005240.4560@toltec.zanshin.com>
- Sender: timothee.cour@xxxxxxxxx
turns out Anthony Heading's solution works great (thanks!)
```
alias echo2='echo ${(%):-%x:%I}'
```
any downside compared to Daniel Shahaf's solution i haven't seen yet?
On Fri, Jan 13, 2017 at 12:06 AM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
wrote:
> On Thu, 12 Jan 2017, Bart Schaefer wrote:
>
> > case "$whence" in
> > (* is an alias for *)
> >
> > Some edge cases possibly not caught.
>
> Change that to (* is * alias for *) ...
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author