[tig] fix copy commit hash mapping

* use "printf" instead of "echo" (avoid newline, and more consistent
  with all platforms)
* use "@" instead of "!" (avoid the "Enter any key to continue..."
  message)

(credit to github.com/aviaron)