From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7412 invoked by alias); 10 Feb 2015 21:45:59 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19847 Received: (qmail 29378 invoked from network); 10 Feb 2015 21:45:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=x-sasl-enc:date:from:to:subject:message-id :references:mime-version:content-type:in-reply-to; s=mesmtp; bh= o8q+v72+4ysRAgUdcOJmuMlXKy4=; b=W+Jc4SGdb9XCEIbP44t91PBSp53ZgRym Gd6r+ZtzhaXaTwAScXVMMhxKXkdmXIktZpTa9B2C4hpMGRCbJ2NX9FrpXyEdyQBM Q2q2Q4bY98cztVtT3Y9+mrNKiogjOnh4tAQN926HxLMnIySwojjJxBnAtj05FpzV yEj30BnkoPU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:date:from:to:subject :message-id:references:mime-version:content-type:in-reply-to; s= smtpout; bh=o8q+v72+4ysRAgUdcOJmuMlXKy4=; b=bvnQ/1RmxjAv0GY+raSM Vpb2zzrcGHQVrFYc6/yqSADwzctvnFc//E/3vAfFqsahhI46oHWKM+nCbjoHOvQq uuHU41sv1569yovhyfay1uztwIWsKeOKCe0qUHgJOB6QnI5ymexRnz2Z1dfFe1et x5mcDmopWUl74j0kEVlusYQ= X-Sasl-enc: i6BVwVmNT2xTRW9zomx0YMuCBFTbSRC6b2zgz9f9AcIg 1423604753 Date: Tue, 10 Feb 2015 21:45:51 +0000 From: Daniel Shahaf To: zsh-users@zsh.org Subject: Re: exclude users in watch variable? Message-ID: <20150210214551.GC1829@tarsus.local2> References: <20150204174605.GA14529@spiegl.de> <20150210192857.GA13932@spiegl.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150210192857.GA13932@spiegl.de> User-Agent: Mutt/1.5.21 (2010-09-15) $watch does not support patterns. For an alternative I'd suggest writing a custom precmd. Maybe someone else has a better idea. (Incidentally, if $watch did support patterns, you'd have needed to (a) quote the ^ so it isn't interpreted as filename generation, (b) consolidate the two negative patterns as '^(user1|user2)' because otherwise between them they'd match everything. Cheers, Daniel Andy Spiegl wrote on Tue, Feb 10, 2015 at 20:28:57 +0100: > I suppose no answer by noone means that it's impossible, right? > Thanks, > Andy. > > On 2015-02-04, 18:46, Andy Spiegl wrote: > > "watch=( notme )" excludes myself but is there a way to exclude other usernames? > > > > I was trying "watch=( notme ^user1 ^user2 )" but I am expecting too much, right? > > -- > me@condor:~> find . -name home > There's no place like home.