OSDN Git Service

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