Yeet perlbrew + some tweaks

This commit is contained in:
swagg boi 2025-04-04 11:17:57 -04:00
parent f56ebf7466
commit b06533133d
2 changed files with 13 additions and 12 deletions

View File

@ -1,7 +1,7 @@
# .bashrc 3/14/2025 <swaggboi@gangstalking.agency> # .bashrc 3/14/2025 <swaggboi@gangstalking.agency>
# Interactive shell check (the way Slackware does it) # Interactive shell check
if shopt -q login_shell; then if [ -t 0 ]; then
/usr/games/fortune /usr/games/fortune
echo echo
fi 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_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_MB_OPT="--install_base \"/home/daniel/perl5\""
export PERL_MM_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 fi
# For Raku/zef # For Raku/zef

View File

@ -38,11 +38,17 @@ export PATH
# Configure the shell to load .shrc at startup time. # Configure the shell to load .shrc at startup time.
# This will happen for every shell started, not just login shells. # This will happen for every shell started, not just login shells.
if [ -r $HOME/.${SHELL}rc ]; then case `basename $SHELL` in
export ENV=$HOME/.shrc sh)
elif [ `basename $SHELL` = 'bash' ] && [ -r $HOME/.bashrc ]; then ENV=$HOME/.shrc
. $HOME/.bashrc ;;
fi ksh)
ENV=$HOME/.kshrc
;;
bash)
. $HOME/.bashrc
;;
esac
# Set locale # Set locale
export LANG="en_US.UTF-8" export LANG="en_US.UTF-8"