shell: fix persistent command escape
ide/directory viewer: fix menu item invocation