Skip to content

Computer automation, software installation, configuration and preferences

License

Notifications You must be signed in to change notification settings

thibaudcolas/dotfiles

Repository files navigation

dotfiles Build status

       ██            ██     ████ ██  ██
      ░██           ░██    ░██░ ░░  ░██
      ░██  ██████  ██████ ██████ ██ ░██  █████   ██████
  ██████ ██░░░░██░░░██░ ░░░██░ ░██ ░██ ██░░░██ ██░░░░
 ██░░░██░██   ░██  ░██    ░██  ░██ ░██░███████░░█████
░██  ░██░██   ░██  ░██    ░██  ░██ ░██░██░░░░  ░░░░░██
░░██████░░██████   ░░██   ░██  ░██ ███░░██████ ██████

  ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
 ░▓ Software installation, configuration and preferences        ▓
 ░▓ https://github.com/thibaudcolas/dotfiles                    ▓
 ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓

Setting up your new Mac (◕‿◕)

The goal is to automate 80% of the setup of your new computer.

  • Download a ZIP of this repository.
  • Unzip the file if necessary. You should have a dotfiles-main folder in your Downloads folder.
  • Launch the Terminal app, found in /Applications/Utilities/
  • Copy and paste the following line into the Terminal, and press Enter:
cd ~/Downloads/dotfiles-main && ./install.sh

The installation process should start, and ask you questions. You'll also be asked to enter your password from time to time. If this is your first run on a fresh Mac, you'll have to start it again after the first install.

GIF recording of the install

Going further

📖
Command-line
macOS Preferences
Alfred workflows (requires Powerpack)
Sublime Text configuration
Visual Studio Code configuration
Extra documentation: docs/

Command-line

This section requires some command-line knowledge.

Requires brew. The first group of tools contains node, ruby & python which are required to install the second group of tools.

cd ~/Downloads/dotfiles-main && ./cli.sh

While you're waiting for this to finish, go generate your SSH keys for GitHub and beyond.

After that, head over to http://brewformulas.org/ to find other things that you might like!

Shell pimping

Have a look at https://github.com/robbyrussell/oh-my-zsh, then:

Grab a zsh prompt theme from:

Dotfiles

The dotfiles subfolder contains configuration for all things CLI. Have a look, peek around, use what you like.

macOS Preferences

You can set macOS preferences by using osx-for-hackers.sh. Beware, this can be dangerous!

When setting up a new Mac, you may want to set some sensible defaults:

./macos.sh

Apps configuration

This section requires some command-line knowledge.

Mackup is awesome. It uses Dropbox / Google Drive / Copy & Paste to backup your configuration for:

1Password 4, Ack, Adium, Adobe Camera Raw, Adobe Lightroom, AppCode, aria2c, Arara, Artistic Style, Arm, asciinema, Aspell, Atom, AusKey, Autokey, Awareness, AWS Command Line Interface, Microsoft Azure CLI, Bartender, Bash it, Bash, BetterSnapTool, BetterTouchTool, BibDesk, Billings Pro Server Admin, Bitchx, Boto, Brackets, Bundler, Byobu, Caffeine, Cartographica, Charles, Chef, Chicken, Clementine, ClipMenu, CloudApp, Coda 2... and more

... so that you can forget about reconfiguring everything. Give it a look.

Alfred workflows (requires Powerpack)

Have a look at:

Software configuration

Visual Studio Code

Have a look at our resources in config/visual-studio-code.

Sublime Text 3

You will need Package Control.

Have a look at the default configuration and the list of packages in config/sublime.

To install the packages, open your Command Palette (Cmd+Maj+P), type Browse packages and go edit the file Packages/User/Package Control.sublime-settings. Save the file, and restart Sublime Text.

Once this is all done, you will want to use Babel Sublime for your JavaScript syntax highlighting. Here's how to.

Contributing to this project

If you want to tinker with the bash scripts, please install ShellCheck and use it to check your changes.

# Debian distribs
apt-get install shellcheck
# OSX
brew install shellcheck

shellcheck *.sh

# Its output should be empty:
# $ shellcheck *.sh | wc -l
#        0

See also

Credits

Manual tasks

Installs

Manual configuration

  • Dropbox
  • Notification center widgets
  • Internet accounts
  • VS Code
  • Licenses
  • /etc/hosts
  • iTerm2 – "Load preferences from a custom folder or URL:" /Users/thibaud/Dropbox/Sync/iTerm2.
  • Refined GitHub

Chrome extensions

About

Computer automation, software installation, configuration and preferences

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published