Cleanup for sudo, spawn, and vimdiff.