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
sudo make install

It worked out pretty well!


Join the conversation


Leave a comment

Leave a Reply

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