-
-
Save sponomarev/7384189 to your computer and use it in GitHub Desktop.
# 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 |
Has this changed, because the code will make my iTerm (Build 3.0.12) crash on startup.
i had the same issue with 3.0.12. a downgrade to 3.0.10 resolved it
Hack isn't necessary. I have 3.0.12 and there is an option to show/hide the dock & tab icon in iTerm2's preferences.
Preferences -> Advanced - Search for "app switcher" and you should see the option for, "Hide iTerm2 from the dock and from the CMD-Tab app switcher." Change to 'yes' and restart the app. This also removes the menu bar, but you can always get back to iTerm2 prefs by hitting CMD+, after hitting your hotkey to show the window.
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.
@sponomarev Thank you
For my iTerm