profile: Perl environment improvements
This commit is contained in:
parent
c5cd631345
commit
1600ffb673
2 changed files with 9 additions and 1 deletions
8
.profile.d/perl.bash
Normal file
8
.profile.d/perl.bash
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
perl_env() { eval $(perl -I $HOME/perl5/lib/perl5/ -Mlocal::lib) ; }
|
||||
|
||||
perl_env \
|
||||
|| (
|
||||
command -v cpanm \
|
||||
&& cpanm --local-lib=$HOME/perl5 local::lib \
|
||||
&& perl_env \
|
||||
)
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
#[%MACPORTS%]#
|
||||
# MacPorts Installer addition on 2023-01-11_at_01:28:57: adding an appropriate PATH variable for use with MacPorts.
|
||||
export PATH="$HOME/Library/Python/3.12/bin:$HOME/Library/Python/3.11/bin:$HOME/perl5/bin:$HOME/.local/bin:$HOME/.local/sbin:/opt/local/bin:/opt/local/sbin:/Applications/ArmGNUToolchain/12.2.rel1/arm-none-eabi/bin:$PATH"
|
||||
export PATH="$HOME/Library/Python/3.12/bin:$HOME/Library/Python/3.11/bin:$HOME/.local/bin:$HOME/.local/sbin:/opt/local/bin:/opt/local/sbin:/Applications/ArmGNUToolchain/12.2.rel1/arm-none-eabi/bin:$PATH"
|
||||
# Finished adapting your PATH environment variable for use with MacPorts.
|
||||
#[%MACPORTS%]#
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue