升了10.10.2後, recent Application, recent document都不見了

終於可以了,
Step:
1. 先移除dock上的recent Application/Document
2. 砍掉/yourname/Library/Preferences/com.apple.recentitems.plist
3. 重開機
4. 加入recent application到dock, 在terminal打:
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }';killall Dock