From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9373 invoked by alias); 29 Nov 2015 20:21:32 -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: 21010 Received: (qmail 8808 invoked from network); 29 Nov 2015 20:21:30 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:to:subject:mime-version:content-type; bh=KmFkKozPLwwBSxKbzcusKF9CVzDO3I2eDWFVjgPTz5Y=; b=Ea+VqTYtESUNEq+roX4TFC566jX38AM4v79d13Q8MaOFV333eZEuH/fddOK2UqYmRJ 6+O7ySXSuHjT+GH/TYHZIeaQ8TlBiRnXyEyqjLn6q6czsHCemE84Wfx5VSyF4ub6y2D7 MrBNqE+6uKFd6BP93Fvt24GtuyH4hLylhXhBfAacuYr0Sz+kvwF8CKLV7ciaj6iC4X4v ekdWMNmFkrfcG/TGNi65oEjECkEQANMkqxDxPoFcCVbfwq40g7C7MvWkmA+11LeZYNZQ 5Xexkypp6B27FOL1Bx0WUYp8E2gOXMrkkUM3yfUVP0+onZkfnSfk5HkR3T6X1p75/bWh vUuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:to:subject:mime-version :content-type; bh=KmFkKozPLwwBSxKbzcusKF9CVzDO3I2eDWFVjgPTz5Y=; b=AfNIWjGQ7x0UrFyileBZ4LLbplIrzQB+QfkYV9PS2zPMPzMwcOX3m+j7ayAWvjCeIt IAICOyEshJjii4+fcu/QVMLHMb2KlraKIv9CEGYcoH8g8xiiN/nKdnCJGpHmz0Sjehr0 b1AYE3cYW/cP5nZ3LodQbVVQ+M+7GhGkC0Wt48PkRZ1SZzkVWLCcNvc6jIsmnmc7oS/M VF6AH9PQxnBXffIOp16K36TYR6A7Pr96o+hIhvT41JwFnzgzE8ai36uWHFy3y8beyXY8 qJWfmZvYvVR2fNhj0hdKis9fH5NKNlzBr8a4cenU1N+Esjxal42izDs5+/AeeOGcKvD/ F6Fw== X-Gm-Message-State: ALoCoQl9Muw4l2PwrdvmjVWeDS3L6JjUA1eP5mZE8XICFSImc00gwtbx+275M47oRXsdGPPOwf3l X-Received: by 10.98.70.19 with SMTP id t19mr65848771pfa.50.1448828487409; Sun, 29 Nov 2015 12:21:27 -0800 (PST) From: Bart Schaefer Message-Id: <151129122148.ZM24977@torch.brasslantern.com> Date: Sun, 29 Nov 2015 12:21:48 -0800 X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Do fake-always and ignored-patterns work together as documented? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Can someone give me a working example of the fake-always style combined with ignored-patterns as described in the documentation? fake-always This works identically to the fake style except that the ignored-patterns style is not applied to it. This makes it possible to override a set of matches completely by setting the ignored patterns to `*'. But: torch% zstyle :completion::complete:foo:\* fake-always FOO BAR BAZ torch% zstyle :completion::complete:foo:\* ignored-patterns \* torch% foo Completing file aclocal.m4 config.h.in Functions/ NEWS aczsh.m4 config.sub* INSTALL README autom4te.cache/ configure* install-sh* Scripts/ BAR configure.ac LICENCE Src/ BAZ CVS/ MACHINES stamp-h ChangeLog Doc/ Makefile.in stamp-h.in Completion/ Etc/ META-FAQ StartupFiles/ Config/ FEATURES Misc/ Test/ config.guess* FOO mkinstalldirs* Util/ This seems to be because the default value for the completer style is "_complete _ignored" but I would have expected to need _next_tags to get the ignored files once the fake ones had been added by _complete. I delete the fake-always style the ignored-patterns style works that way on its own.