Add support for .dev.sh install-specific shell configuration
This commit is contained in:
parent
3db6222162
commit
adfa0ff4f8
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user