From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2313 invoked from network); 9 Jun 1999 02:43:29 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Jun 1999 02:43:29 -0000 Received: (qmail 2516 invoked by alias); 9 Jun 1999 02:43:13 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6533 Received: (qmail 2509 invoked from network); 9 Jun 1999 02:43:13 -0000 Message-Id: <199906090243.TAA01218@bebop.clari.net> To: "ZSH workers mailing list" Subject: Completion and global aliases Date: Tue, 08 Jun 1999 19:43:10 -0700 From: Wayne Davison I figured out what was going wrong with getting completion running with my setup. The running of the completion code is apparently being affected by all my global aliases. I happen to have a global alias named "X" that is getting expanded by a completion script and is causing a syntax error. This brings up the issue: shouldn't completion really be running in a pre-defined environment, not the user's current environment? I.e. I don't want all my interactive options, aliases, etc. to affect the running of the scripts. It seems to me like we need the code that runs the completion scripts to switch over to its own options/aliases/whatever-else and then switch back when it finishes. ..wayne..