made some scripts more resuable

This commit is contained in:
Colin Henry 2022-05-15 12:25:47 -07:00
parent b353f35ec5
commit 734318639c
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,9 @@
#!/usr/bin/env bash -eo pipefail
ACCT=`whoami`
read -p "email: " EMAIL
# change default shell back to bash
chsh -s /bin/bash $ACCT
# Generate keypair for use with github
ssh-keygen -o -a 100 -t ed25519 -f $HOME/.ssh/id_ed25519 -C "colin@jchenry.me"
ssh-keygen -o -a 100 -t ed25519 -f $HOME/.ssh/id_ed25519 -C "$EMAIL"

View File

@ -1,5 +1,3 @@
#!/usr/bin/env bash -eo pipefail
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap Homebrew/bundle
mas signin colin@jchenry.me
brew bundle --file ~/.config/Brewfile
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew bundle --file ~/.config/Brewfile