Use type -q instead of type > /dev/null
Use type -q instead of type > /dev/null

`type -q` is better becase `> /dev/null` only silences `stdout` while
`-q` correctly deals with `stderr` as well. `-q` also saves unnecessary
calls of `sys_write`.

simnalamburt/fish-sensible