#!/bin/sh if [ "$1" == "xero" ]; then sed -i 's/xero@brandingbrand.com/x@xero.nu/' ~/.gitconfig sed -i 's/id_rsa/personal/g' ~/.zsh/keychain.zsh else sed -i 's/x@xero.nu/xero@brandingbrand.com/' ~/.gitconfig sed -i 's/personal/id_rsa/g' ~/.zsh/keychain.zsh fi pkill ssh-agent