dolmen / angel-PS1

Your fancy shell prompt fed by your guardian angel

Home Page:https://twitter.com/nglPS1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working under perl 5.26.0 or newer.

gugod opened this issue · comments

When running the fatpacked version of angel-PS1, it dies with the following error -- if the invoking perl is newer than 5.26.0

% eval `./angel-PS1`
angel-PS1: Unimplemented: POSIX::tmpnam(): use File::Temp instead at /Users/st21277/bin/angel-PS1 line 2856.

Some additional info:

% which perl
/Users/gugod/perl5/perlbrew/perls/perl-5.26.1/bin/perl
% echo $SHELL
/bin/zsh

The subroutine POSIX::tmpnam() was simply removed. See: https://perldoc.perl.org/perl5260delta.html#POSIX%3a%3atmpnam()-has-been-removed

Fixed by bde8772 in devel branch.

Fix released with v0.97.