Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: compinit and promptinit fail on virtual terminal
- X-seq: zsh-users 14378
- From: Stephan Friedrichs <stephan.friedrichs@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: compinit and promptinit fail on virtual terminal
- Date: Tue, 15 Sep 2009 10:25:42 +0200
- In-reply-to: <115F0582-375D-4BAB-B1FD-419C81BDE655@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <4AAE9931.9030106@xxxxxxxx> <115F0582-375D-4BAB-B1FD-419C81BDE655@xxxxxxxxxxx>
Sebastian Stark wrote:
>
> Am 14.09.2009 um 21:27 schrieb Stephan Friedrichs:
>> /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
>
> What is the value of the fpath variable and does one of its components
> indeed contain the compinit function?
>
Ah $fpath was the hint I needed, thanks :)
$fpath only contained two paths, both from the icc (the intel C
compiler). Some faulty config file set them as a path instead of
appending them to the existing path. This was (indirectly) done by an
orphan /etc/profile.d/icc.sh; I don't remember if I wrote it myself or
if it is a remainder of an older icc installation. However, it looks
like this only screwed up bash, from which the virtual terminal
inherited the wrong paths (so su or a direct zsh login still work).
Long story short: Removing the orphan config file /etc/profile.d/icc.sh
solved the problem.
Thank you all!
//Stephan
--
Früher hieß es ja: Ich denke, also bin ich.
Heute weiß man: Es geht auch so.
- Dieter Nuhr
Messages sorted by:
Reverse Date,
Date,
Thread,
Author