iterm: add rudimentary support for HEAD