is it possible to open a file with commandline mate without focusing TextMate? Or if not, is there an easy way to return focus to iTerm/Terminal after opening a file/directory with mate?
an osascript works, although the amount of time from calling mate until iTerm is refocused is somewhat annoying

focus_iterm () {
  osascript -e "tell application \"iTerm\" to activate"
}
mateb () {
  mate $@
  focus_iterm
}