perlbin.fish 337 B

1234567891011
  1. # Set path to perl scriptdirs if they exist
  2. # https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_scripts
  3. if status --is-login
  4. for perldir in /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl
  5. if test -d $perldir; and not contains $perldir $PATH
  6. set PATH $PATH $perldir
  7. end
  8. end
  9. end