Skip to content

Instantly share code, notes, and snippets.

@itomg
Created July 8, 2015 13:01
Show Gist options
  • Save itomg/113a1ba0ff4f5a635360 to your computer and use it in GitHub Desktop.
Save itomg/113a1ba0ff4f5a635360 to your computer and use it in GitHub Desktop.
Hide Iterm2 in dock
## ref http://www.zhihu.com/question/27447370
## 隐藏iTerm Dock 图标
/usr/libexec/PlistBuddy -c "Add :LSUIElement bool true" /Applications/iTerm.app/Contents/Info.plist
## 如果要恢复 Dock 图标:
/usr/libexec/PlistBuddy -c "Delete :LSUIElement" /Applications/iTerm.app/Contents/Info.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment