From 85a57088deca9318f2086d95723411cb300f27d5 Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Sun, 20 Mar 2011 11:57:25 +0800 Subject: [PATCH] Add PERL_CPANM_OPT as default environment. --- .bashrc | 1 + csh.cshrc | 1 + 2 files changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index 5c83f03..e5d4470 100644 --- a/.bashrc +++ b/.bashrc @@ -28,6 +28,7 @@ export EDITOR="vim" export GIT_PAGER="less" export LESS="-EfmrSw" export PAGER="most" +export PERL_CPANM_OPT="--mirror http://cpan.nctu.edu.tw/" # shopt -s checkwinsize shopt -s histappend diff --git a/csh.cshrc b/csh.cshrc index 2ad2d61..7672b8f 100644 --- a/csh.cshrc +++ b/csh.cshrc @@ -36,4 +36,5 @@ setenv EDITOR "/usr/local/bin/vim" setenv LESS "-EfmrSw" setenv LSCOLORS "gxfxcxdxbxegedabagacad" setenv PAGER "/usr/local/bin/most" +setenv PERL_CPANM_OPT="--mirror http://cpan.nctu.edu.tw/" setenv VISUAL $EDITOR