fry-current.fish: use type instead of which

type is a builtin command of fish and therefore faster and more portable.