Hide iTerm from OS X’s dock
#To remove iTerm from the dock:
/usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/iTerm.app/Contents/Info.plist
#To restore iTerm to the dock:
/usr/libexec/PlistBuddy -c 'Delete :LSUIElement' /Applications/iTerm.app/Contents/Info.plist
# https://coderwall.com/p/jiljrq/hide-iterm2-from-os-x-s-dock