Skip to content

Instantly share code, notes, and snippets.

@sponomarev
Created November 9, 2013 10:43
Show Gist options
  • Save sponomarev/7384189 to your computer and use it in GitHub Desktop.
Save sponomarev/7384189 to your computer and use it in GitHub Desktop.
Remove iTerm2 icon from Dock
# remove
/usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/iTerm.app/Contents/Info.plist
# restore
/usr/libexec/PlistBuddy -c 'Delete :LSUIElement' /Applications/iTerm.app/Contents/Info.plist
@sponomarev
Copy link
Author

Here is the solution for latest 3.1 version

image

@csandanov
Copy link

I've used the option suggested by @randyinla with my iterm2 (3.0.15) but it created another problem – the first line is obscured by macOS window bar which is super annoying. For those who're struggling and want to roll it back, you can open iterm2 preferences with ⌘ + , (Command-Comma) combination.

@dineshrajnkl
Copy link

@sponomarev Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment