A cleaner way of removing -f from commands that do not prompt.