zsh trapd00r theme fix

Calling it a fix is actually inappropriate, the document has already given us clues. When I am configuring my Z shell today by replacing grml-zsh with oh-my-zsh find a few errors when applying theme trapd00r.

I had an strange error:

prompt_jnrowe_precmd:3: command not found: zsh_path

I solve it by these steps:

cd ~/bin # assume that your ~/bin exists and is in your $PATH
wget https://raw.githubusercontent.com/trapd00r/utils/master/zsh_path
chmod +x zsh_path

Then I got another error, saying something about a perl module called Term::ExtendedColor not installed. So this is easy to fix too:

cd /tmp
wget http://search.cpan.org/CPAN/authors/id/W/WO/WOLDRICH/Term-ExtendedColor-0.224.tar.gz
tar xvzf Term-ExtendedColor*.tar.gz
cd Term-ExtendedColor*
perl Makefile.PL  # assuming you have perl-Makefile-Parser installed on your box
make
sudo make install

It worked out pretty well!

20140414195458

Join the conversation

3 Comments

Leave a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.