Yay.
- Put git SSH keys in ~/.ssh
- Modify ~/.ssh/config to use them for github.com:
Host github.com IdentityFile ~/.ssh/zuercher_github_rsa
- Clone bash-personal:
mkdir ~/personal && cd personal git clone [email protected]:zuercher/bash-personal.git
- Configure bash:
echo source ~/personal/bash-personal/bash_common.sh >>~/.bash_profile
- Install Homebrew.
brew install --cask emacs
- Shell... Open... open
configs/Personal.terminal
- Terminal... Settings... Profiles tab... select Personal profile and click Default.
- Run
./configs/Shortcuts.sh
to add ⌘⌥← and ⌘⌥→ shortcuts for navigating Terminal tabs and so forth. - Run
./configs/disable_power_chime.sh
to disable the power chime sound when a power adapter is plugged in.
If bash-personal/profile/git-completion.bash
exists, it will be
sourced and is expected to provide git command line completion.
Similarly, if bash-personal/profile/git-prompt.sh
exists, it is
sourced and expected to produce a __git_ps1
function which is placed
in the shell prompt.
Both scripts are available from
https://github.com/git/git/blob/master/contrib/completion/ and can be
installed via ./configs/install_git_helpers.sh
.
The script install-git-hooks
can install several types of git hooks.