Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Generalize getent presence
- X-seq: zsh-workers 39836
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Generalize getent presence
- Date: Fri, 4 Nov 2016 21:47:26 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=NDUYunjOeQKrTLkwmrEkuOSAPUDSqzAZuljI+3L2D+A=; b=wfnS2AA4LGgCc+Ja7UH/0xVdJb3aPLpInwxdXRQNfF2sUDuUm35mEd8q1R3T0QUDX1 wy/el2LjK3Tvmpm6IORSq58iQ9NsqdwjHe9LgWGdI1+FSsa+wgp18VtJaIRMLAfMGuqN +EJvI6ThqRvjm8YJ+TxR+5fXTv4wmIjhTKvZaYhtwkaGGhi61NVHSBB3Eu9+tU0oVl6F tJFLDsAW8kTSmjND4okWQ5ChEusFsOHrRyYFGCV1iDhJDtED9Cx9f3zLHYn+AdYTo4Eb Xsi/+iOq521HiYjjCgq9z968ogoMOqAx3JfCHfgzyt1YeGHRk2lrKlPySZkGXrNvStJ+ GqPA==
- In-reply-to: <CA+CkF21yC1M1+6++TSm+M6Y_P8w+qvHG81hTJb+=P2Wet+Nxqw@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CA+CkF21yC1M1+6++TSm+M6Y_P8w+qvHG81hTJb+=P2Wet+Nxqw@mail.gmail.com>
On Nov 4, 2:51am, Thomas Bereknyei wrote:
}
} -[[ -x /usr/bin/getent ]] || getent() {
}
} +[[ -n ${commands[getent]} ]] || getent() {
Seems reasonable; we test for ${commands[getent]} in _hosts.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author