Add support for .dev.sh install-specific shell configuration

This commit is contained in:
maddiebaka 2023-09-01 04:10:29 -04:00
parent 3db6222162
commit adfa0ff4f8
2 changed files with 10 additions and 0 deletions

View File

@ -97,6 +97,12 @@ function install {
fi fi
echo "Done" echo "Done"
echo "Creating empty .dev.sh..."
if [ ! -e ~/.dev.sh ]; then
echo "# Create install-specific shell configuration here." > ~/.dev.sh
fi
echo "Done"
echo "Tightening permissions on \$HOME..." echo "Tightening permissions on \$HOME..."
if ! $dryrun; then if ! $dryrun; then
chmod o-rx $HOME chmod o-rx $HOME

View File

@ -137,6 +137,10 @@ then
source ~/.cargo/env source ~/.cargo/env
fi fi
if [ -e ~/.dev.sh ]
then
source ~/.dev.sh
fi
# Liz stuff lol # Liz stuff lol
# curl -fsSL https://icanhazdadjoke.com | lolcat # curl -fsSL https://icanhazdadjoke.com | lolcat