@Override
  public @NotNull TerminalCommandHistoryManager.State getState() {
    State state = new State();
    state.myHistoryFileInfoList = ContainerUtil.nullize(new ArrayList<>(myMap.values()));
    return state;
  }
@Override
  public @NotNull TerminalCommandHistoryManager.State getState()