Skip to content

Instantly share code, notes, and snippets.

@DaveMessina
Created October 15, 2014 20:19
Show Gist options
  • Save DaveMessina/dde360566cc07132b795 to your computer and use it in GitHub Desktop.
Save DaveMessina/dde360566cc07132b795 to your computer and use it in GitHub Desktop.
example bashrc, mostly to setup a user's perl environment
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Perl setup
export PERL_LOCAL_LIB_ROOT="$HOME/perl5";
export PERL_MB_OPT="--install_base $HOME/perl5";
export PERL_MM_OPT="INSTALL_BASE=$HOME/perl5";
export PERL5LIB="$HOME/perl5/lib/perl5/x86_64-linux-gnu-thread-multi:$HOME/perl5/lib/perl5:$PERL5LIB";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment