This repository contains my personal dotfiles. They are stored here for convenience so that I may quickly access them on new machines or new installs. Also, others may find some of my configurations helpful in customising their own dotfiles.
I use the git bare repository method for managing my dotfiles.
Once you have initiated a new bare repository (thanks DistroTube) browse to the configuration file you’d like to push to the repo and run the following commands:
$ config add /path/to/file
$ config commit -m "A short message"
$ config push
Contents
Version 1.0
- .zshrc
- vscode user settings
- vscode extensions
Install Homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Once homebrew has been installed, install the following brew cask packages:
$ brew cask install visual-studio-code
$ brew cask install postman
$ brew cask install google-chrome
$ brew cask install firefox
$ brew cask install spotify
$ brew cask install skype
$ brew cask install dropbox
$ brew cask install mamp
$ brew cask install transmit
Extra Steps
MAMP To use PHP config included with MAMP, add the following has been added to your zshrc file (PATH should be relevant to your MAMP installation):
export PATH=/Applications/MAMP/bin/php/php7.3.9/bin:$PATH
Install the following fonts:
Required for ligatures and icons in shell.
Remember to select the font from terminal > preferences and vscode (already included in vscode user settings) once installed.
$ brew tap homebrew/cask-fonts
$ brew cask install font-fira-code (terminal, spaceship prompt)
$ brew cask install font-hack-nerd-font (vscode, colorls) - link.
Install the following brew packages:.
$ brew install composer
$ brew install nvm - link
$ brew install tree
Extra Steps
NVM When installing nvm complete the following steps:
$ mkdir ~/.nvm.
Ensure the following has been added to your .zshrc file:
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
Install gulp globally
$ npm install --global gulp-cli
Once installed, install the following global node packages:
Install spaceship prompt
$ npm install -g spaceship-prompt
Install syntax highlighting - link
Note: Configuration files not included in this repository. Manually install via the links above and make sure the source is correct in the .zshrc file.
Install colorls gem https://github.com/athityakumar/colorls
$ sudo gem install colorls
Show a list of all your installed Homebrew packages: $ brew list $ brew cask list