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 22362
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: option to show file:line everytime echo is called?
- Date: Fri, 13 Jan 2017 14:52:51 +0000
- Cc: Timothee Cour <timothee.cour2@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=IXewyOPhMd8vWup Makl11cc2mzo=; b=NSc844WLiGHnQY9CjOmP0RcRFq+uyMsJcNhIuQ1Nc7yziIT 2tMDsZyiY8PXGHILC2xQNIKO9GgRal6yNZyGKOVII6P3U7xUYcMVHd/+wkPVF9ak IVw+RnBeR+EWSC66EdQPvj0WhfxmNyDjWGhbJfKDtomIUkITWWaEE/kgm0bE=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=IXewyOPhMd8vWu pMakl11cc2mzo=; b=D4UYYaVh3DYQfwuL70Gr8UQt/s6bAi7wmKXKSiB0S0u+CD j2YgJX3GvMR1w80ywsls3KCkfcv+vrha58LWGg1hpqkfDVyUTf+LK6rJ5vOsuI4S 4tyul7F/ItNnVZekdUbP3T3QNB9kSlzUSfUl2imhoT8WSqvbvUiEvcNXljja4=
- In-reply-to: <alpine.LRH.2.00.1701122304500.4560__6317.49331155351$1484294388$gmane$org@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__6317.49331155351$1484294388$gmane$org@toltec.zanshin.com>
Bart Schaefer wrote on Thu, Jan 12, 2017 at 23:57:49 -0800:
> alias() {
> if [[ -z $opts[-m] && $1 = *=* ]] && whence_my_alias[${1%=*}]=$functrace
[${1%%=*}]
> Some edge cases possibly not caught.
'alias' can take more than one positional argument.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author