instead of searching ~/doc, search the current directory. the old functionality can be restored by passing -a to the function.