From adfa0ff4f844722184c39111e07f13da3a531cd6 Mon Sep 17 00:00:00 2001 From: maddiebaka Date: Fri, 1 Sep 2023 04:10:29 -0400 Subject: [PATCH] Add support for .dev.sh install-specific shell configuration --- bootstrap.sh | 6 ++++++ config/zshrc | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index 4a52668..6572430 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -97,6 +97,12 @@ function install { fi 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..." if ! $dryrun; then chmod o-rx $HOME diff --git a/config/zshrc b/config/zshrc index 49a9bb7..252377f 100644 --- a/config/zshrc +++ b/config/zshrc @@ -137,6 +137,10 @@ then source ~/.cargo/env fi +if [ -e ~/.dev.sh ] +then + source ~/.dev.sh +fi # Liz stuff lol # curl -fsSL https://icanhazdadjoke.com | lolcat