chiark / gitweb /
dot/profile: Publish local Perl and Python directories.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 30 May 2020 12:11:40 +0000 (13:11 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 30 May 2020 12:21:33 +0000 (13:21 +0100)
dot/profile

index 2d597bf5bf50019bbdcc633f67e12b0744146a87..3962b2bfbee38c3acb4886b9cd7aa99786735b1b 100644 (file)
@@ -301,6 +301,10 @@ DPKG_COLORS=never; export DPKG_COLORS
 GCC_COLORS=; export GCC_COLORS
 CCC_OVERRIDE_OPTIONS="#^-fno-color-diagnostics"; export CCC_OVERRIDE_OPTIONS
 
+## Local library directories.
+__mdw_addto PERLLIB l $HOME/lib/perl; __mdw_export_if_defined PERLLIB
+__mdw_addto PYTHONPATH l $HOME/lib/python; __mdw_export_if_defined PYTHONPATH
+
 ## Disable core dumps.
 ulimit -S -c 0