FS#51191 - [perl] add perl script directories for fish shell
Attached to Project:
Arch Linux
Opened by Florian Jacob (fjacob) - Sunday, 02 October 2016, 09:09 GMT
Last edited by Florian Pritz (bluewind) - Tuesday, 25 October 2016, 14:08 GMT
Opened by Florian Jacob (fjacob) - Sunday, 02 October 2016, 09:09 GMT
Last edited by Florian Pritz (bluewind) - Tuesday, 25 October 2016, 14:08 GMT
|
Details
Similar to
https://bugs.archlinux.org/task/22441, as fish is not sh-compatible, it needs its own version of
the perlbin script to add the directories to the path.
With the attached script placed at /usr/share/fish/vendor_conf.d/perlbin.fish, fish shell users will be able to execute vendor perl scripts without PATH modification. :) As it has to be placed in /usr instead of /etc/profile.d and is not meant to be user-editable, I left out the line to add a custom $PERLLIB path. As a side note, the wiki link changed, it's now …#Binaries_and_scripts instead of …#Binaries_and_Scripts as somebody changed the heading. Thanks! |
This task depends upon
Closed by Florian Pritz (bluewind)
Tuesday, 25 October 2016, 14:08 GMT
Reason for closing: Implemented
Additional comments about closing: perl 5.24.0-3
Tuesday, 25 October 2016, 14:08 GMT
Reason for closing: Implemented
Additional comments about closing: perl 5.24.0-3
The /usr/share/fish/vendor_conf.d/ scripts are executed for each shell and not only for login shells, so I have to check the shell status. See fixed version in new attachment of this comment.