#!/bin/sh

cmd=$(command -v "$1")
test -n "$cmd" && exec vi "$cmd"
