Skip to content

joshkennedy/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

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

What's Inside

Install

On a fresh installation of macOS:

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

Install the dotfiles with either Git or curl:

Clone with Git

git clone https://github.com/joshkennedy/dotfiles.git ~/.dotfiles
source ~/.dotfiles/install.sh

Remotely install using curl

Alternatively, you can install this into ~/.dotfiles remotely without Git using curl:

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

Or, using wget:

bash -c "`wget -O - --no-check-certificate https://raw.githubusercontent.com/joshkennedy/dotfiles/master/remote-install.sh`"

The dotfiles command

$ dotfiles help
Usage: dotfiles <command>

Commands:
   clean            Clean up caches (brew, npm, gem, rvm)
   edit             Open dotfiles in IDE (ws) 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.
  • The installer (install.sh) will run ~/.extra/install.sh.

Credits

  • Huge thanks to @webpro for his dotfiles repo