Use nano if it's installed; otherwise use vim
Use nano if it's installed; otherwise use vim

`command -v` is the portable way to test if a command exists
See: http://stackoverflow.com/a/762682

mcornella/dotfiles