evitolins / dotfiles

Linux/OSX personal workspace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

Linux/OSX personal workspace

Summary

This dotfiles collection is geared toward web and graphics development workflows on MacOS.

It manages the following features...

  • oh-my-zsh installation
  • homebrew, formulas and casks installation
  • npm globals installation
  • various customized settings for installed software

Installation

Dotfiles

The only requirements are git and bash. It's cleanest to install git from the offical website.

git clone https://github.com/evitolins/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./setup.sh

Applications and Utilities

Homebrew

Managing Applications

There are scripts to both backup and restore the homebrew environment.

  • Backup cd ~/.dotfiles/homebrew && ./backup.sh
  • Restore cd ~/.dotfiles/homebrew && ./restore.sh

Enable faster Github Access

Homebrew uses Github for information, and will limit speed/access without providing a Github token.

  1. Create a Github token from https://github.com/settings/tokens (no scopes selected is okay)
  2. Add env var to login script ~/.zshrc
# Github Token
export HOMEBREW_GITHUB_API_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXX

NOTE: Saving to ~/.zshrc is not the best idea, since it is under version control. Will move this to a ignored file soon.

Preferences and Settings

Below are scripts and workflows to both apply and preserve desired preferences per application.

iTerm2

Profile

To restore prefered color schemes, fonts, hotkeys, etc... just choose the saved preference file.

  1. Enable: Preferences > General > "Load preferences from a custom folder or URL:"
  2. Choose or enter ~/.dotfiles/prefs/iterm2
  3. Set font: Preferences > Profiles > Text > Font to Source Code Pro for Powerline @ 13pt

Others...

Check the prefs directory for more application preferences, installation scripts and documentation.

Reference and Inspiration

About

Linux/OSX personal workspace


Languages

Language:Shell 100.0%