change D semantics to clear the current directory instead of the selected one