██ ██ ████ ██ ██
░██ ░██ ░██░ ░░ ░██
░██ ██████ ██████ ██████ ██ ░██ █████ ██████
██████ ██░░░░██░░░██░ ░░░██░ ░██ ░██ ██░░░██ ██░░░░
██░░░██░██ ░██ ░██ ░██ ░██ ░██░███████░░█████
░██ ░██░██ ░██ ░██ ░██ ░██ ░██░██░░░░ ░░░░░██
░░██████░░██████ ░░██ ░██ ░██ ███░░██████ ██████
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
░▓ Software installation, configuration and preferences ▓
░▓ https://github.com/thibaudcolas/dotfiles ▓
░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
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 yourDownloads
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.
📖 |
---|
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 terminal theme from https://github.com/mbadolato/iTerm2-Color-Schemes.
- Grab Powerline fonts https://github.com/powerline/fonts.
Grab a zsh prompt theme from:
- https://github.com/denysdovhan/spaceship-zsh-theme
- https://github.com/caiogondim/bullet-train.zsh
- https://github.com/bhilburn/powerlevel9k
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
- https://brew.sh/
- https://formulae.brew.sh/cask/
- https://dotfiles.github.io/
- https://github.com/ptb/mac-setup
- Actual dotfiles originally from https://github.com/mathiasbynens/dotfiles
- Dotfiles lib from https://github.com/atomantic/dotfiles
- ASCII Art from https://github.com/xero/dotfiles
- ASCII faces from https://github.com/maxogden/cool-ascii-faces
- 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
View at: chrome://extensions/
.