Fix vim subshell detection