diff --git a/sdn.cpp b/sdn.cpp index 3084248..07ba5e3 100644 --- a/sdn.cpp +++ b/sdn.cpp @@ -1430,7 +1430,9 @@ int main (int argc, char *argv[]) { if (g.cwd != g.start_dir && !g.no_chdir) cout << "local cd=" << shell_escape (g.cwd) << endl; - if (!g.chosen.empty ()) - cout << "local insert=" << shell_escape (g.chosen) << endl; + else + cout << "local cd=" << endl; + + cout << "local insert=" << shell_escape (g.chosen) << endl; return 0; }