ep (198B) [raw]
1 #!/bin/sh 2 die() { 3 echo "$*" 1>&2 4 exit 1 5 } 6 7 [ -z "$1" ] && die "usage: $0 COMMAND" 8 9 comm="$(command -v "$1")" 10 if [ -n "$comm" ]; then 11 exec "$EDITOR" "$comm" 12 else 13 die "File '$1' not on \$PATH" 14 fi
dotfiles$HOME is where the <3 is | |
git clone git://git.alexkarle.com/dotfiles.git | |
Log | Files | Refs | Submodules | README | LICENSE |