From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13995 invoked from network); 17 Jan 2006 13:14:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Jan 2006 13:14:41 -0000 Received: (qmail 61709 invoked from network); 17 Jan 2006 13:14:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Jan 2006 13:14:33 -0000 Received: (qmail 29030 invoked by alias); 17 Jan 2006 13:14:26 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9833 Received: (qmail 29019 invoked from network); 17 Jan 2006 13:14:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 Jan 2006 13:14:26 -0000 Received: (qmail 60610 invoked from network); 17 Jan 2006 13:14:26 -0000 Received: from ykdmp01.yokohama.riken.go.jp (HELO ykdmp01.yokohama.riken.jp) (134.160.82.30) by a.mx.sunsite.dk with SMTP; 17 Jan 2006 13:14:23 -0000 Received: (qmail 78250 invoked by uid 98); 17 Jan 2006 13:14:18 -0000 Received: from 134.160.84.23 by ykdmp01.yokohama.riken.jp (envelope-from , uid 82) with qmail-scanner-1.25 (sophie: 3.04/2.31/3.98. spamassassin: 3.1.0. Clear:RC:1(134.160.84.23):. Processed in 0.027892 secs); 17 Jan 2006 13:14:18 -0000 Received: from unknown (HELO jota.gsc.riken.go.jp) (134.160.84.23) by ykdmp01.yokohama.riken.go.jp with SMTP; 17 Jan 2006 13:14:18 -0000 Received: from [10.64.65.5] (ipm04.gsc.riken.go.jp [134.160.83.74]) by jota.gsc.riken.go.jp (Postfix) with ESMTP id A380034854DF for ; Tue, 17 Jan 2006 22:14:17 +0900 (JST) Mime-Version: 1.0 (Apple Message framework v746.2) Content-Transfer-Encoding: 7bit Message-Id: <864C70C0-1C89-4FD2-8730-10242DCAA417@jota.gsc.riken.go.jp> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: zsh-users@sunsite.dk From: Wataru Kagawa Subject: zstyle & variables Date: Tue, 17 Jan 2006 22:14:17 +0900 X-Mailer: Apple Mail (2.746.2) Hi all. I have the following completion set in my zsh environment setup file. zstyle ':completion:*' users $USERS I also have a custom function to alter the contents of $USERS . After running this function to change the contents of $USERS, I need to execute the line above in the command line to make the change take effect. I would like my custom function to do this for me, but I am having trouble figuring it out. I tried adding, 'zstyle ':completion:*' users $USERS' to the bottom of my custom function, but that did not work for me. I hope someone can help me out.