public
Last active

  • Download Gist
iterm2_install.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#!/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"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.