git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
66319f9
)
PERLLIB variable is now set from both "version" & "archname" Perl vars
author
short
<>
Mon, 8 Oct 2001 00:13:38 +0000
(
00:13
+0000)
committer
short
<>
Mon, 8 Oct 2001 00:13:38 +0000
(
00:13
+0000)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
f25c06d
..
27454ea
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-19,11
+19,21
@@
_bash_profile_addpath PATH "$HOME/bin"
_bash_profile_addpath PATH "$HOME/sbin"
_bash_profile_addpath LD_LIBRARY_PATH "$HOME/lib"
_bash_profile_addpath MANPATH "$HOME/man"
_bash_profile_addpath PATH "$HOME/sbin"
_bash_profile_addpath LD_LIBRARY_PATH "$HOME/lib"
_bash_profile_addpath MANPATH "$HOME/man"
-_bash_profile_addpath PERLLIB "$HOME/lib/perl5/site_perl"
-_bash_profile_addpath PERLLIB "$HOME/lib/perl5/site_perl/`perl -V:version|cut -d "'" -f 2`"
+
_bash_profile_addpath CVSROOT "$HOME/cvs" single
_bash_profile_addpath CVSROOT "$HOME/pserver/cvs" single
_bash_profile_addpath CVSROOT "$HOME/cvs" single
_bash_profile_addpath CVSROOT "$HOME/pserver/cvs" single
+for _perldir in $(eval "echo $HOME/lib/perl5/site_perl$(
+ for perlvar in version archname;do
+ echo -n '{,/'
+ perl -V:"$perlvar"|cut -d "'" -f 2|tr -d '\n'
+ echo -n '}'
+ done
+ )");do
+ _bash_profile_addpath PERLLIB "$_perldir"
+ done
+unset _perldir
+
unset -f _bash_profile_addpath
alias ls='ls -bF'
unset -f _bash_profile_addpath
alias ls='ls -bF'