This repo contains my personal dotfiles and setup script for my computer(s) based on MacOS. You are free to use them but understand that those are my personal preferences. You can always fork my repository and create your own dotfiles.
This repo is used for mostly new installations but can be used to setup you computer again.
You can execute the script with the following command, it will destroy itself if its ready (probably, so if you don't press restart computer and "clean" exit):
mkdir dotfiles_installation && cd dotfiles_installation && curl -#L https://github.com/glamorous/dotfiles/archive/master.zip | tar -xzv --strip-components 1 && chmod +x bootstrap.sh && ./bootstrap.sh && cd .. && rm -rf dotfiles_installation
You can also start the script by downloading the code and going to the dotfiles directory and execute this command:
chmod +x bootstrap.sh && ./bootstrap.sh
When a question is asked and a default is given, you can just hit enter
to accept the default.
- Sign in, in the Mac App Store! (to download applications through Brew)
- Fresh installed OSX with custom settings for your dock, finder, ...
- Development machine: Git, PHP-versions, MySQL, Nginx, ...
- Default applications installed through Brew (App store and not-app store) (Brew bundle)
- Settings backup (through iCloud) for some applications (Mackup)
- Some default composer global packages (Laravel Valet, Envoy, ...)
The creation of this dotfiles wasn't possible without these resources:
- Setting Up a Mac Dev Machine From Zero to Hero With Dotfiles by Simon Owen
- dotfiles Freek Murze
- dotfiles Mathias Bynens
- ASCI generator (Ansi Shadow)
- Touchbar-configuration
- dotdiles Alrra
when a default is given and you don't want to change something: just press enter
- After installation create a project with this repo and check for updates when you try to re-use it.
- Set FileVault to encrypt hard disk
- Allow guest account for "Find My Mac"
- Set
full write access
for Terminal & iTerm2 in OSX system preferences (Privacy)
- Test mouse speed
- Automatic capitalizatio (disable?)
- Quarantain-check
Are you sure?
(disable?)
- Set scaled screen size to everything is looking a bit smaller
- Finder Sidebar items
- Default applications in dock
- TimeMachineEditor config
- Attach file extensions to applications (for example
.pdf
) - Delete alias for show/hide files (it's included in om-my-zsh plugins)
- Sudo check if password is correct inserted and abort script if it doesn't
- PHP ini files
- Nginx config files
- Add an extra step with a list of best practises
- Create a
Code
folder if it doesn't exits with an aliascode
to navigate to it - Add a
--verbose
option to show output from theexecute
commands