This is an old revision of the document!
Okay here we go into OSX land I guess????
It's apt-get for osx.
Run the command listed here: https://brew.sh/
You might have to manually install the XCode Command Line tools from here, which frustratingly requires an Apple ID. If you don't, you won't have git, and brew won't work.
Do this stuff to get bash 4.x:
$ brew install bash bash-completion $ sudo -i Password: # echo "$(brew --prefix)/bin/bash" >> /etc/shells # exit $ chsh -s $(brew --prefix)/bin/bash
The shell is now changed, but if you type "bash" by itself, it still launches that ridiculous dinosaur shell that Apple ships. To change the path order to prefer installed alternatives, add this to .bashrc:
Make a new profile based on "Basic" with:
Resist the urge to start with 'Pro' (which is light-on-dark), as they think Pro means no antialiasing and a tiny font.
My environment kit does work on OSX. You just need modern Bash (see above) and modern base64:
$ brew install base64
Then deploy kit per usual.
Shell settings may not be deployed automatically – in this case, add "source ~/.mybashrc" to ~/.profile (creating this file if it doesn't exist).
I can't understand why, but standard one-finger tap-then-drag isn't enabled by default. Weirdly, the option is NOT under "Trackpad", but rather in the trackpad part of the Accessibility options. See here for details.
All scrolling is backwards by default. To fix:
System Preferences > Trackpad > Scroll & Zoom > Scroll direction: natural → OFF
This is basically the cygwin list adapted for brew:
$ brew install lynx links nano wget rsync unzip vim openssh screen gcc gdb make bash-completion git python3