Deployment improvements

Replace deploy.sh with deploy.py
Some updates to setup scripts, for more consistency
Split out some common unix setup tasks into a script that both mac and
linux scripts call.
This commit is contained in:
2020-04-23 13:39:20 -07:00
parent e66be17d89
commit 340df909ba
6 changed files with 90 additions and 44 deletions

View File

@@ -63,21 +63,17 @@ gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps']"
# Use local time so as to not conflict with Windows
timedatectl set-local-rtc 1 --adjust-system-clock
# Change default shell
sudo chsh -ls /usr/bin/fish $USER
# SSH setup
ssh-keygen -t rsa -f $HOME/.ssh/id_rsa -q -P ""
echo "Please add this key to GitHub, then press ENTER to continue."
echo "Your SSH public key is:"
echo ""
cat $HOME/.ssh/id_rsa.pub
cat ~/.ssh/id_rsa.pub
echo ""
read
read -p "Please add it to GitHub, then press enter to continue."
git clone git@github.com:tim-mccarthy/dotfiles.git .dotfiles
pushd .dotfiles
./deploy.sh
popd
sudo chsh -ls /usr/bin/fish $USER
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install
git clone git@github.com:tim-mccarthy/dotfiles.git $HOME/.dotfiles
bash ~/.dotfiles/setup_unix_common.sh