summaryrefslogtreecommitdiffstats
path: root/abs/core/perl/perlbin.fish
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl/perlbin.fish')
-rw-r--r--abs/core/perl/perlbin.fish10
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/core/perl/perlbin.fish b/abs/core/perl/perlbin.fish
new file mode 100644
index 0000000..1f52ebb
--- /dev/null
+++ b/abs/core/perl/perlbin.fish
@@ -0,0 +1,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_perl /usr/bin/vendor_perl /usr/bin/core_perl
+ if test -d $perldir
+ set PATH $PATH $perldir
+ end
+ end
+end