Use doom fallback-buffer otherwise doom might start on scratch buffer while opening a file from shell