Table of Contents
Prerequisites
Install brew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Setup .profile:
echo 'export PATH=$PATH:/usr/local/bin' > $HOME/.profile
source ~/.profile
Frameworks
Install rvm and ruby:
curl -sSL https://get.rvm.io | bash -s stable --ruby
Install python 3:
brew install python
Download and install Go for MacOS here
Prettify Terminal
Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Install Powerline themes:
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
Install Powerline Nerd font:
brew tap homebrew/cask-fonts
brew install --cask font-hack-nerd-font
brew install --cask font-sourcecodepro-nerd-font
Install customization to powerlevel9k theme:
curl -fsSL -o ~/powerlevel9k.zsh https://raw.githubusercontent.com/bzon/dotfiles/master/powerlevel9k.zsh
Install Oh My Zsh plugins and extra utilities
brew install zsh-autosuggestions
brew install zsh-syntax-highlighting
gem install colorls
brew install neofetch
brew install kube-ps1
Configure zshrc file
- Backup the existing
./zshrc
for safety. - Install the zshrc of this repo:
curl -fsSL -o /.zshrc https://raw.githubusercontent.com/bzon/dotfiles/master/zshrc
- Run
brew info zsh-syntax-highlighting
and follow the instructions related to modification in the zshrc. - Run
brew info zsh-autosuggestions
and follow the instructions related to modification in the zshrc.
NeoVim and Plugins
Install neovim:
brew install neovim
Install Vim Plug for neovim:
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Upgrade python client for neovim (needed for some plugins to work):
/usr/local/bin/pip3 install neovim
/usr/local/bin/pip3 install --upgrade neovim
Copy ./init.vim
to ~/.config/nvim/init.vim
, open it, source then install the plugins.