From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19194 invoked from network); 1 Oct 2005 18:40:54 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 1 Oct 2005 18:40:54 -0000 Received: (qmail 4294 invoked from network); 1 Oct 2005 18:40:48 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Oct 2005 18:40:47 -0000 Received: (qmail 22498 invoked by alias); 1 Oct 2005 18:40:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9466 Received: (qmail 22487 invoked from network); 1 Oct 2005 18:40:38 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 1 Oct 2005 18:40:38 -0000 Received: (qmail 3149 invoked from network); 1 Oct 2005 18:40:38 -0000 Received: from wproxy.gmail.com (64.233.184.204) by a.mx.sunsite.dk with SMTP; 1 Oct 2005 18:40:38 -0000 Received: by wproxy.gmail.com with SMTP id 57so53657wri for ; Sat, 01 Oct 2005 11:40:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qp9U3IqZVjEpwQT1EJENuRVyau53EfzTkr5nWmn+sONaG0Iki/nuWB/PcExozdbTHyvnGZLgntusgk6E8XVgkecAciKEsih86JA6z329l16goYfp5bh43oxkta1kzGELxy4Qr30Ed6RPgLIIGM4Gww6/7rYLQSiw+SIyzV5ofwM= Received: by 10.54.73.9 with SMTP id v9mr390682wra; Sat, 01 Oct 2005 11:40:36 -0700 (PDT) Received: by 10.54.67.19 with HTTP; Sat, 1 Oct 2005 11:40:36 -0700 (PDT) Message-ID: <3060c2390510011140h508a88acs507db6ca4b5d9134@mail.gmail.com> Date: Sat, 1 Oct 2005 14:40:36 -0400 From: Mike Hernandez Reply-To: Mike Hernandez To: Zsh Users Subject: Re: completions broken for root user In-Reply-To: <580cd3b30509300858s21a8e20bue3d6e84e633d171b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <580cd3b30509300858s21a8e20bue3d6e84e633d171b@mail.gmail.com> X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RCVD_BY_IP autolearn=ham version=3.0.4 On 9/30/05, Scott Lipcon wrote: > I recently upgraded zsh on my FreeBSD machine, and now the freebsd specif= ic > completions are broken for the root user only... > > my $fpath variables are the same in both shells, and both contain > /usr/local/share/zsh/4.2.5/functions/Completion/BSD/, which > has the _bsd_pkg containing that function... > I'm just guessing here, but something like this has happened to me before: I logged in my "regular" user, and my custom functions worked... then I used su to become root... and my custom functions stopped working. Turns out that I forgot that su doesn't source my shell files, sourcing them manually worked, and su - worked as well. Mentioning it just in case :) Mike