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 22359
- 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:32:41 -0800
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9wRBK5a58tA/jVnq3012JzwLs9BcPq8OtiejruQQ7SM=; b=YTqXLISLrxkbrbxqAWig40Wj60Q1c6UYBy2UkJJUi4ZemfRKge3m455YpkNq2IeDMG 7oIryVSlWXpSNaq6ZW29NFcQUM8KEExRzomwSxunKkE4G8Y1pelwB+bvt7bz5UuhZGku qEMbsJA77fHFmGlXGSZMXWe9Qm6xSN6CiVdqiYDlE9sR2FXqrmkIbi7nM0aJpCdWXyEs urVRy9eIgV/I8jTcTELg7klohWY64qY/0qnD2w7rXfqUsXlt/3CtNZdSt+jofGVNhSrJ DQHD4bRzOru7UooSEFT3X+ZFU50as7jpDQWSdDOzWouyyUMw6NEMp2mktQ1oS07NF/+L 4QsA==
- 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>
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