- Clone this repo.
- Ensure your SSH key is loaded via
ssh-add -l
.
- Uninstall Rectangle, iTerm, any other cask apps listed in the casks of
common.yml
andlinux.yml
ORmac.yml
. - Sign into app store and update xcode. Then, open xcode and accept the license.
Then run
xcode-select --install
. You'll need to do this for some inexplicable reason to use the C compiler. Remind me again why macOS is so developer-friendly? - If you do not have Admin permissions, ensure
brew
has been installed first by an administrator.
./run.sh <m|l>
- Open Flycut and Rectangle. Set them to launch on login.
- Open Keyboard preferences > Shortcuts > Input Sources > untick "Select the previous input source" (or whatever is stealing ctrl+space from our tmux config). This starts off unticked anyway, but will become ticked as soon as you add another input source (e.g. US layout)!
- Open Keyboard preferences > Shortcuts > Mission Control > untick all Mission
Control things using
^
- Make iTerm append Esc to Alt key. Open iTerm -> Preferences -> Profiles ->
Keys and change the Left and Right Alt key settings from Normal to Esc+. This
restores
alt+f
,alt+backspace
etc. - Hide the dock.
- Reload tmux and shell.
- Speed up key repeat. (System Preferences > Keyboard > set "Delay Until Repeat" to Short)
- Turn on Tap to click. (System Preferences > Trackpad > Point & Click > set "Tap to click")
- Make sure you set a Nerd Font as your non-ascii font in iTerm -> Preferences -> Profiles -> Text -> Non-ASCII Font (Inconsolata Mono Nerd Font comes with dotfiles)
- Do the things in common post-install below.
- Change key repeat and trackpad 'tap to click' to desired settings.
- Do the things in common post-install below.
- TODO
- Open vim and run
:PlugInstall
. Not all plugins install unless the shell is interactive, for some reason. - Install TPM plugins (start
tmux
and press prefix+I). - Enable
bash-it
plugins and completions. This used to be automated, but they have since merged a change which means bash-it cannot be run interactively. Until we find another way around this, run:source ~/.bash_profile bash-it enable plugin base fzf git kubectl bash-it enable completion bash-it git system kubectl bash-it enable alias kubectl
All config files are symlinked to this repo. To add new things, eg. a new alias, edit the corresponding file in this repo and commit the changes.
- verify it all actually works
- git autocomplete in bash
- Unify tmux configs? It looks like that TPM plugin is cross-platform.
- macOS key repeat (this is a bit of a pain to automate as valid defaults values change between releases. Might not even be worth automating)
-
Can't find cask
failed: [localhost] (item=docker) => {"failed": true, "item": "docker", "msg": "Error: Cask 'gitx-rowanj' is unavailable: No Cask with this name exists."}
Similar errors to this probably means your homebrew has a cask that is no longer available. In this case, make sure you don't have gitx installed, and manually remove its cask folder from
/usr/local/Caskroom
. -
Need admin permissions
Try and find another way to install, add instructions to either playbook or post-install.
-
Vim warnings.
Uninstall then reinstall
python
,python3
,pip
,pip3
. Re-runvim-update
.