Yesterday I joined a new company, and as you might expect, the first task given to me was to setup my dev environment. Aside from installing all the important dev tools I wanted to make my dock auto-hide to save me some space on my desktop. This however reminded me of a classic MacOS problem - the damn thing takes forever to open:

An image showing a very slow animation of opening MacOS dock

As life is too short to wait for a dock to open I run the following commands:

defaults write com.apple.dock autohide-delay -float 0
defaults write com.apple.dock autohide-time-modifier -float 0.15
killall Dock

and this is what I got:

An image showing a much faster animation of MacOS dock


Side note: in case you want to revert these settings run following commands:

defaults delete com.apple.dock autohide-delay
defaults delete com.apple.dock autohide-time-modifier
killall Dock