Setup a new coding environment on OSX
Everything should be installed via Homebrew for the sake of simplicity and ease of uninstallation
Install Homebrew
It is quite common to be confused between brew
and brew cask
. In the nut shell, brew
installs command-line softwares while brew cask
installs graphical applications and it deals with licencees.
Install git with ssh
I find my old post about Git and SSH useful indeed
Install iTerm2
Before heading to the next headline, there is some good words here https://sourabhbajaj.com/mac-setup/iTerm/zsh.html
Install Oh My Zsh
This Oh My Zsh is a framework built to manage Zsh configuration. In its own world, Zsh is a nicely designed interactive shell that I love to use when I develop. There are some better alternatives but I haven’t got time to try them out.
- First step is off course, install Zsh
More instructions about how to install Zsh on different OS can be found [here] (https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH)
- Invoke
zsh
for the first time will take you to the configuration menu where a shitload of options to be configured. The result should be a.zshsrc
file more ~/.zshrc
- Themes Simply choose a theme you like for example
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="pygmalion"
The best instruction so far for on “Powerlevel9k”, a very good theme https://gist.github.com/kevin-smets/8568070
Install Emacs
Emacs is always my favourite editor especially for a quick change.
brew install emacs
and it is invoked with simply emacs
command
To be continued