summarylogtreecommitdiffstats
path: root/perlbin.fish
blob: 9f46091a8103dfceff064a73284afc8a458b8bfa (plain)
1
2
3
4
5
6
7
8
9
10
# Set path to perl scriptdirs if they exist
# https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_scripts

if status --is-login
    for perldir in /usr/bin/site_cperl /usr/bin/vendor_cperl /usr/bin/core_cperl
        if test -d $perldir; and not contains $perldir $PATH
            set PATH $PATH $perldir
        end
    end
end