6 function _install_iterm2() {
8 if [[ "Darwin" != "$(uname -s)" ]]; then
10 echo "iTerm2 is only for macOS"
12 echo "You might want to check out:"
13 echo " alacritty for Linux"
14 echo " Windows Terminal for Windows, of course"
22 if [[ ! -d "${WEBI_TMP}/iTerm.app" ]]; then
23 echo "error unpacking iTerm2:"
28 if [[ -d ~/Applications/iTerm.app ]]; then
29 mv ~/Applications/iTerm.app ${WEBI_TMP}/iTerm.app-webi.bak
31 mv "${WEBI_TMP}/iTerm.app" ~/Applications/