This is a collection of my preferences so as to allow quick setup and continuity between machines I use for development
Prerequisites for Git and Homebrew.
On newer macs this comes out of the box.
xcode-select --install
git clone [email protected]:aukoyy/dotfiles-zsh.git ~/.
# The original .zshrc must be deleted/renamed
ln -s ~/dotfiles-zsh/.zshrc ~/.zshrc
ln -s ~/dotfiles-zsh/.gitconfig ~/.gitconfig
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Then pass in the Brewfile if you would like to install these programs.
brew bundle --file ~/dotfiles-zsh/Brewfile
Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Install PowerLevel10K
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
Configure PowerLevel10K
p10k configure
If the .gitconfig file has been symlinked then most of the job is done. If not it can be done like so:
git config --global user.name "[name]"
git config --global user.email "[email of github account]"
git config --global core.editor "vim" // Sets editor to vim
git config --list // Lists all settings
npm install --global git-open
Use by typing git open in a reposetory.
Remove animation from dock
defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock
Remove delay from dock
defaults write com.apple.dock autohide-delay -float 0; killall Dock
Make hidden apps appear as faded in dock
# Faded
defaults write com.apple.Dock showhidden -bool true; killall Dock
# Revert
defaults write com.apple.Dock showhidden -bool false; killall Dock
Insert blank spaces in dock
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'; killall Dock
Change duration that the screenshot image hangs out. May no longer work due to changes in macOS
defaults write com.apple.screencaptureui "thumbnailExpiration" -float 15 && killall SystemUIServer
- TinkerTool
- KeystrokePro
- Learn how to use
defaults
to record and restore System Preferences and other macOS configurations. - Automate symlinking and run script files with a bootstrapping tool like Dotbot.
- Find inspiration and examples in other Doffiles repositories at dotfiles.github.io.