問題
$ brew cask alfred link
を実行すると下記エラーが出た。
==> The domain/default pair of (/Users/~/Library/Preferences/com.runningwithcrayons.Alfred-Preferences, syncfolder) does not exist
Error: Alfred 2.4+ detected, but local preferences file not found. Try running Alfred first.
そこで、Alfredの設定を調整することでエラーを回避する。
解決方法
alfredの設定画面 > Features > Default Results > Search Scope > +ボタンをクリック > command+shift+G > /opt/homebrew-cask/Caskroom/ を追加