Skip to content

Instantly share code, notes, and snippets.

View janoka's full-sized avatar

Janos Kuszing janoka

  • Netstudio
  • Székesfehérvár, Hungary
View GitHub Profile
@janoka
janoka / toggleiTerm2icon
Created April 6, 2016 09:31 — forked from lg0/toggleiTerm2icon
show/hide iTerm2 Dock icon
# toggle iTerm Dock icon
# add this to your .bash_profile or .zshrc
function toggleiTerm() {
pb='/usr/libexec/PlistBuddy'
iTerm='/Applications/iTerm.app/Contents/Info.plist'
echo "Do you wish to hide iTerm in Dock?"
select ync in "Hide" "Show" "Cancel"; do
case $ync in
'Hide' )