Skip to content

Latest commit

 

History

History
83 lines (55 loc) · 3.66 KB

README.md

File metadata and controls

83 lines (55 loc) · 3.66 KB

.files

Attention: Tested only on Ventura, but should work in the recent versions of macOS too

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

It targets OS X systems, but since it has some defensive checks it should work on *nix as well (tested on a few Linux boxes).

(Based on https://github.com/webpro/dotfiles)

Package overview

Install

On a sparkling fresh installation of OS X:

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

Install the dotfiles with either Git or curl:

Clone with Git

git clone [email protected]:myshov/dotfiles.git
source dotfiles/install.sh

Remotely install using curl

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

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

Or, using wget:

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

The dotfiles command

$ dotfiles help
Usage: dotfiles <command>

Commands:
   help               This help message
   edit               Open dotfiles in default editor (subl) and Git GUI (stree)
   reload             Reload dotfiles
   update             Update packages and pkg managers: OS X Applications, Homebrew/Cask, npm, Ruby, and pip
   osx                Apply OS X system defaults
   dock               Apply OS X Dock settings
   install mjolnir    Install Mjolnir (Homebrew/Luarocks)

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.

Additional resources

Credits

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