Improve dvim shell redirection