Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: compinit and promptinit fail on virtual terminal
- X-seq: zsh-users 14375
- From: Andrey Borzenkov <arvidjaar@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: compinit and promptinit fail on virtual terminal
- Date: Tue, 15 Sep 2009 06:48:41 +0400
- Cc: Stephan Friedrichs <stephan.friedrichs@xxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=Tc5lTWvWkdTsVBSzaXjI5xl5FLfxH6VWcPXBFKu608M=; b=vxcYbKXOZNN8V9Hgjw6+ep5cSRD/E8ASZq15koT/yeEd3ixPLkjgwD6sqXesZzBYLt csoof8t1fj/rK7WSnJuC7TUl81QCStefwx86mdGmIri1+fyCdYIPikmzUcGuw8KiNSGZ O031CQCXiTbnHlDAxUtlCS0xxbO6OgkPgwQnY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=osSXaeKlC/WwsFHt8xI2QnTmujC22q1Hk50v7OVLlnOhi0GaDi9SalaqxyNAOOCYYu 0IdEAONDkY3NKX4eHM9KBGhReVxsWVgrj81kgnmdDucDipqC6w6JebIa+FbxUOu14TRI OCgCQnaqGKBpbGVkJDRL5qUJqiDib/OGwRFNo=
- In-reply-to: <4AAE9931.9030106@xxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <4AAE9931.9030106@xxxxxxxx>
On Monday 14 of September 2009 23:27:45 Stephan Friedrichs wrote:
> Hi,
>
> whenever I start zsh in gnome-terminal or xterm, I get this error:
>
>
> /home/igel/.zshrc:2: compinit: function definition file not found
> /home/igel/.zshrc:3: promptinit: function definition file not found
> /home/igel/.zshrc:3: command not found: prompt
>
>
> The funny thing is, that when starting zsh on a TTY, (or via 'su' in
> a 'screen' on a virtual terminal) it works just fine.
Simple 'su' or 'su -'?
Those virtual terminals are not usually started as login shell; so it is
quite possible completions functions are added to fpath in one of login
script (/etc/zprofile, /etc/zlogin, ~/.zprofie, ~/.zlogin) that are not
executed when you start xterm. Check all of them.
Attachment:
signature.asc
Description: This is a digitally signed message part.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author