From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21004 invoked by alias); 22 Dec 2015 08:41: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: 21091 Received: (qmail 26080 invoked from network); 22 Dec 2015 08:41:57 -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 autolearn=ham autolearn_force=no version=3.4.0 X-IBM-Helo: d06dlp03.portsmouth.uk.ibm.com X-IBM-MailFrom: vogt@linux.vnet.ibm.com X-IBM-RcptTo: zsh-users@zsh.org Date: Tue, 22 Dec 2015 09:30:43 +0100 From: Dominik Vogt To: Zsh Users Subject: emulate zsh *except* pushd related options Message-ID: <20151222083043.GA6457@linux.vnet.ibm.com> Reply-To: vogt@linux.vnet.ibm.com Mail-Followup-To: Zsh Users MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15122208-0005-0000-0000-000009D1BF50 There's a system-wide, autoloaded script that defines a "cd" function that needs shwordsplit to be set. Other than that it should revert to the default options (because it may be used by someone else), *except* that it should not touch the pushd related options (autopushd, pushdminus, pushdignoredups) that are needed for cd to do its work. Is there a (safe!) way to say "emulate zsh but don't touch certain options"? Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany