Computer automation, software installation, configuration and preferences
MIT License
██ ██ ████ ██ ██
░██ ░██ ░██░ ░░ ░██
░██ ██████ ██████ ██████ ██ ░██ █████ ██████
██████ ██░░░░██░░░██░ ░░░██░ ░██ ░██ ██░░░██ ██░░░░
██░░░██░██ ░██ ░██ ░██ ░██ ░██░███████░░█████
░██ ░██░██ ░██ ░██ ░██ ░██ ░██░██░░░░ ░░░░░██
░░██████░░██████ ░░██ ░██ ░██ ███░░██████ ██████
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
░▓ Software installation, configuration and preferences ▓
░▓ https://github.com/thibaudcolas/dotfiles ▓
░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
(◕‿◕)
The goal is to automate 80% of the setup of your new computer.
dotfiles-main
folder in your Downloads
folder./Applications/Utilities/
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.
📖 |
---|
Command-line |
macOS Preferences |
Alfred workflows (requires Powerpack) |
Sublime Text configuration |
Visual Studio Code configuration |
Extra documentation: docs/ |
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!
Have a look at https://github.com/robbyrussell/oh-my-zsh, then:
Grab a zsh prompt theme from:
The dotfiles
subfolder contains configuration for all things CLI. Have a look, peek around, use what you like.
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
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.
Have a look at:
Have a look at our resources in config/visual-studio-code
.
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.
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
/etc/hosts
/Users/thibaud/Dropbox/Sync/iTerm2
.