From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22157 invoked by alias); 14 Dec 2014 13:16:04 -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: 19526 Received: (qmail 12511 invoked from network); 14 Dec 2014 13:15:53 -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,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent; bh=gh9Z2SpPl9eg/uX1sfrMK70/USY8ZBPtRtRM8TfMB5k=; b=Bwv8vIAaQQsQlyan1YRd3VpsOnWNDH1HRZnzA+H/ldwPPSrLnuRLLZGS1ffbAm2cAH 6C/Ka3LGzIKIcQHJ6rvzLcvycBExmt4mhFfNo8xvIzwXxbqPASRB8Hbs/2rD3BHaVskZ AL4IhSNdpD2AoFdUuOSnKWCT2nlco1gYVh6H3OeQZLHmOMwSqc1Mpjhr41aHeF+6St+F MiXpH60D18sxbuZkECoGAz2mQnNAGYmZdRiz5NXxhDX8nO9T0jk5YiZHvmtsrvPKI/k+ 4lMFXrmQR/6FOE/tOvVepJfQ/nWYbEjOpMd7vBLzhDkvyCiLzWJ0ieA3Vk0X4V48Q2+E nuRw== X-Received: by 10.224.80.67 with SMTP id s3mr46561464qak.84.1418562949150; Sun, 14 Dec 2014 05:15:49 -0800 (PST) Date: Sun, 14 Dec 2014 11:15:41 -0200 From: Silas Silva To: zsh-users@zsh.org Subject: umount completion context and tags Message-ID: <20141214131541.GB1489@rikku> Mail-Followup-To: zsh-users@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Hi there! I was trying to tweak umount completion by using the tag-order style. AFAIK, umount completion. According to "umount ^Xh", we have: tags in context :completion::complete:umount:: argument-rest options (_arguments _mount (eval)) tags in context :completion::complete:umount:argument-rest: device-labels device-paths directories (_alternative _mount (eval)) device-paths (_canonical_paths _canonical_paths _alternative _mount (eval)) It means that we have at least three tags: device-labels device-paths directories device-labels is useless for me, so I tried to exclude it: zstyle ':completion:*:mount:*' tag-order '!device-labels' But, it simply doesn't work! ^Xh still gives me all tags. Taking a glance at the _mount completion, it has tags above hardcoded, but I didn't look further. In reality, what I want is to avoid behaviour like (in Linux): mount /dev/sdb1 /mnt/usb0 cd /mnt umount u umount udev (!!!) Any help? Thank you! -- Silas Silva