/dotfiles

These are my dotfiles.

Primary LanguageShell

.files

These are my dotfiles. Take anything you want, but at your own risk.

It targets macOS systems, but it should work on *nix as well (with apt-get).

Issues

None known.

Credits

Much of this is from Lars Kappert's setup. A good amount of bits and inspiration from Dan Lowe here as well.

Many thanks to the dotfiles community and the creators of these incredibly useful tools.

Package overview

Apps installed from App Store

These are either unavailable in Homebrew/Cask or my personal license is via the App Store.

Packages to install manually (not covered by Homebrew, App Store, etc.)

  • Adobe Creative Cloud installed via homebrew/cask - install Acrobat DC, Animate CC, Audition CC, Illustrator CC, InDesign CC, Media Encoder CC, Photoshop CC, and XD CC from this app
  • Brett's PopClip Extensions - Brett Terpstra's treasure trove of extensions for PopClip – which is installed via Homebrew cask – lots of really useful markdwon formatting tools here.
  • Ember - Discontinued image catalog and screenshot app. I have a local copy of installer. Still working on MacOS.
  • iRehearse Plus -
  • Permute - media file conversion utility (I intend to make a homebrew cask for this)
  • Privacy Badger - Install extensions/add-ons for Chrome, Firefox, and Safari
  • Seasonality Core
  • uBlock Origin - Install extensions/add-ons for Chrome, Firefox, and Safari

Post Installation

  • Tower CLI Tool - To install the gittower command line tool, run installer from Tower's preferences on the Integration tab. (Make sure that Tower is run from the /Applications folder before trying to install.)

Install

On a sparkling fresh installation of macOS:

sudo softwareupdate -i -a
xcode-select --install

Note: update COMPUTER_NAME constant in macos/defaults.sh with correct/current machine name before firing that script.

The Xcode Command Line Tools includes git and make (not available on stock macOS). Then, install this repo with curl available:

bash -c "`curl -fsSL https://raw.githubusercontent.com/dropkick/dotfiles/master/remote-install.sh`"

This will clone (using git), or download (using curl or wget), this repo to ~/.dotfiles. Alternatively, clone manually into the desired location:

git clone https://github.com/dropkick/dotfiles.git ~/.dotfiles

Use the Makefile to install everything listed above, and symlink runcom and config (using stow):

cd ~/.dotfiles
make

Post-install

  • dotfiles dock (set Dock items) - in my particular case, I install all of my app store apps before this as I set shortcuts to them in the dock with this step.
  • dotfiles macos (set macOS defaults)
  • Mackup
    • Log in to cloud sync being used (Nextcloud/Owncloud in my case)
    • mackup restore
    • ln -s ~/.config/mackup/.mackup.cfg ~ (until #632 is fixed)

The dotfiles command

$ dotfiles help
Usage: dotfiles <command>

Commands:
   clean            Clean up caches (brew, npm, gem, rvm)
   dock             Apply macOS Dock settings
   edit             Open dotfiles in IDE (code) and Git GUI (stree)
   help             This help message
   macos            Apply macOS system defaults
   test             Run tests
   update           Update packages and pkg managers (OS, brew, npm, gem)

Customize/extend

You can put your custom settings, such as Git credentials in the system/.custom file which will be sourced from .bash_profile automatically. This file is in .gitignore.

Alternatively, you can have an additional, personal dotfiles repo at ~/.extra. The runcom .bash_profile sources all ~/.extra/runcom/*.sh files.

Additional resources