Yeet perlbrew + some tweaks
This commit is contained in:
parent
f56ebf7466
commit
b06533133d
@ -1,7 +1,7 @@
|
||||
# .bashrc 3/14/2025 <swaggboi@gangstalking.agency>
|
||||
|
||||
# Interactive shell check (the way Slackware does it)
|
||||
if shopt -q login_shell; then
|
||||
# Interactive shell check
|
||||
if [ -t 0 ]; then
|
||||
/usr/games/fortune
|
||||
echo
|
||||
fi
|
||||
@ -40,11 +40,6 @@ if [ -d $HOME/perl5 ]; then
|
||||
export PERL_LOCAL_LIB_ROOT="/home/daniel/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"
|
||||
export PERL_MB_OPT="--install_base \"/home/daniel/perl5\""
|
||||
export PERL_MM_OPT="INSTALL_BASE=/home/daniel/perl5"
|
||||
|
||||
# For perlbrew
|
||||
if [ -r $HOME/perl5/perlbrew/etc/bashrc ]; then
|
||||
. $HOME/perl5/perlbrew/etc/bashrc
|
||||
fi
|
||||
fi
|
||||
|
||||
# For Raku/zef
|
||||
|
@ -38,11 +38,17 @@ export PATH
|
||||
|
||||
# Configure the shell to load .shrc at startup time.
|
||||
# This will happen for every shell started, not just login shells.
|
||||
if [ -r $HOME/.${SHELL}rc ]; then
|
||||
export ENV=$HOME/.shrc
|
||||
elif [ `basename $SHELL` = 'bash' ] && [ -r $HOME/.bashrc ]; then
|
||||
. $HOME/.bashrc
|
||||
fi
|
||||
case `basename $SHELL` in
|
||||
sh)
|
||||
ENV=$HOME/.shrc
|
||||
;;
|
||||
ksh)
|
||||
ENV=$HOME/.kshrc
|
||||
;;
|
||||
bash)
|
||||
. $HOME/.bashrc
|
||||
;;
|
||||
esac
|
||||
|
||||
# Set locale
|
||||
export LANG="en_US.UTF-8"
|
||||
|
Loading…
x
Reference in New Issue
Block a user