Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completions broken for root user
- X-seq: zsh-users 9466
- From: Mike Hernandez <sequethin@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: completions broken for root user
- Date: Sat, 1 Oct 2005 14:40:36 -0400
- 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=
- In-reply-to: <580cd3b30509300858s21a8e20bue3d6e84e633d171b@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <580cd3b30509300858s21a8e20bue3d6e84e633d171b@xxxxxxxxxxxxxx>
- Reply-to: Mike Hernandez <sequethin@xxxxxxxxx>
On 9/30/05, Scott Lipcon <slipcon@xxxxxxxxx> wrote:
> I recently upgraded zsh on my FreeBSD machine, and now the freebsd specific
> completions are broken for the root user only...
<snip>
>
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author