dotfiles.sh: Replace `which` with `command -v`
authorW. Trevor King <wking@tremily.us>
Fri, 29 Mar 2013 17:19:58 +0000 (13:19 -0400)
committerW. Trevor King <wking@tremily.us>
Fri, 29 Mar 2013 17:22:35 +0000 (13:22 -0400)
commit1d150ab1075f7ee822d02f15a1a1ce425ee547a8
tree5c7ef6e3024272d21a662adfa3a1b736fab7a4e2
parentd7e5a19618ec936b5e07f3e71977d824e6ed0d06
dotfiles.sh: Replace `which` with `command -v`

I learned (via the Git list [1]) that `which` is not part of POSIX.
The POSIX 2008 equivalent is `command -v` [2].  We can make the shell
introduction more portable by sticking to the POSIX utilities [3],
especially since `command` is a Bash builtin.

[1]: http://article.gmane.org/gmane.comp.version-control.git/216007
[2]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html
[3]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap04.html#tag_20
dotfiles.sh