5 lines
65 B
Bash
Executable File
5 lines
65 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cmd=$(command -v $1)
|
|
test -n "$cmd" && exec vi "$cmd"
|