unixorn/git-extra-commands

`git forest` command can't locate Git.pm

therealklanni opened this issue · 1 comments

When running git forest command, the below error occurs.

Steps to reproduce:

$ cd ~/.oh-my-zsh/custom/plugins

$ git clone https://github.com/unixorn/git-extra-commands.git
Cloning into 'git-extra-commands'...
remote: Enumerating objects: 35, done.
remote: Counting objects: 100% (35/35), done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 1292 (delta 17), reused 18 (delta 9), pack-reused 1257
Receiving objects: 100% (1292/1292), 354.84 KiB | 479.00 KiB/s, done.
Resolving deltas: 100% (777/777), done.

$ # Add git-extra-commands to .zshrc plugins

$ source ~/.zshrc

$ git forest
Can't locate Git.pm in @INC (you may need to install the Git module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /Users/me/.oh-my-zsh/custom/plugins/git-extra-commands/bin/git-forest line 12.
BEGIN failed--compilation aborted at /Users/me/.oh-my-zsh/custom/plugins/git-extra-commands/bin/git-forest line 12.

Added the dependency to the readme. Thanks for letting me know, I must have added that cpan module on my machine.