Skip to content
Create a gist now

Instantly share code, notes, and snippets.

#!/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
Something went wrong with that request. Please try again.