config/.local/bin/vic

5 lines
86 B
Bash
Executable File

#!/bin/sh
cmd=$(command -v "$1")
test -n "$cmd" && exec vim "$cmd" || exec vi "$cmd"