#!/bin/sh git show $1 | vim -R +"f $1" +"filetype detect" - # Install: # copy to $PATH and chmod +x # # Usage: # git view :