Skip to content

Instantly share code, notes, and snippets.

@fnichol
Created February 12, 2011 21:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fnichol/824149 to your computer and use it in GitHub Desktop.
Save fnichol/824149 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# ## Installing iTerm2 on Mac OS X 10.5/10.6
#
# bash < <(curl -L http://gist.github.com/raw/824149/iterm2_install.sh)
#
url="http://iterm2.googlecode.com/files/iTerm2-alpha16.zip"
zip="${url##http*/}"
download_dir="/tmp/iterm2-$$"
printf "===> Downloading $tar to $download_dir ...\n"
mkdir -p "$download_dir"
curl -L "$url" -o "${download_dir}/${zip}"
printf "===> Installing /Applications/iTerm2.app ...\n"
unzip -q "${download_dir}/${zip}" -d /Applications/
printf "===> Cleaning up $download_dir ...\n"
rm -rf "$download_dir"
printf "===> iTerm2 installation complete. w00t.\n\n\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment