Closed dserodio closed 8 years ago
Thanks for the report!
As a quick workaround until I fix the issue, you can use the --shell
option to tell angel-PS1 what is your shell:
eval $(angel-PS1 --shell=zsh)
Could you tell me your operating system?
$ uname
And the output of those commands, while in your shell:
$ cat /proc/$$/comm
$ cat /proc/$$/cmdline
$ ps -o comm= $$
I have probably fixed the issue in a2dbcd8e8f04afd1b5711fe61456b7b40f6254b6
.
Please check:
$ git checkout devel
$ eval $(perl -Ilib bin/angel-PS1)
Sorry for the delay, I'm running OS X 10.9.3
$ uname
Darwin
$ ps -o comm= $$
/usr/local/bin/zsh
$ git checkout devel
$ eval $(perl -Ilib bin/angel-PS1)
angel-PS1: load error: angel-PS1: angel-PS1: angel-PS1: angel-PS1: Can't locate AngelPS1/System/darwin.pm in @INC (@INC contains: /Users/dserodi/.config/angel-PS1 /etc/xdg/angel-PS1 lib /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level /System/Library/Perl/Extras/5.16 .) at lib/AngelPS1/System.pm line 25.
BEGIN failed--compilation aborted at lib/AngelPS1/Plugin/Battery.pm line 14.
Compilation failed in require at lib/AngelPS1/Prompt/Default.pm line 13.
BEGIN failed--compilation aborted at lib/AngelPS1/Prompt/Default.pm line 13.
Unfortunately OS X is not yet supported. I have to implement lib/AngelPS1/System/darwin.pm
on the model of lib/AngelPS1/System/linux.pm
.
OS X port is in progress in branch port/darwin
. See #14.
I installed a more recent version of zsh in /usr/local/bin and that's what I use as my shell, but angel-PS1 doesn't recognize it:
This happens both on master and develop branches, and the error above is from the develop branch.