- zsh and affiliated resources
- i. zsh itself -
brew install zsh - ii. oh my zsh -
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" - iii. powerlevel9k -
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k - iv. zsh plugins
- i. autosuggestions -
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions - ii. syntax highlighting -
git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting - iii. completions -
git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/custom/plugins/zsh-completions
- i. autosuggestions -
- iTerm2 - Download
- Nerd Fonts (Patched Fonts) - Download or use
brew tap homebrew/cask-fonts; brew search nerd; brew cask install robotomono-complete-nerd-font - Visual Studio Code - Download
- Eslint and Prettier - Download via Visual Studio Code Extensions
- Clone repo
git clone https://github.com/Danixar/dotfiles.git
- Download parts 1 to 3 of the above resources
- Set iTerm2 font/non-ascii-font (RobotoMono Nerd Font), colour preset (Dark Background), and keyboard preset (natural text editing)
- Configure dotfiles by creating .zshrc and .profile in $HOME and add source commands to them to run their respective dotfiles from this git repository:
- ~/.zshrc
source ~/path/to/dotfiles/.zshrc - ~/.profile
source ~/path/to/dotfiles/.profile - ~
git --config include.path '~/path/to/dotfiles/.gitconfig'
- Create files ~/secrets.sh or ~/dotfiles/.secrets.sh to include all secrets
- Download parts 4 and 5 of the above resources
- Within a node project, apply the following commands:
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
npx install-peerdeps --dev eslint-config-airbnb
- Copy .eslintrc.json and .prettierrc to the project via:
cp ~/path/to/dotfiles/.eslintrc.json ~/path/to/project/.eslintrc.json
cp ~/path/to/dotfiles/.prettierc ~/path/to/project/.prettierrc
