# Previous chats disappearing when closing cursor

**URL:** <https://forum.cursor.com/t/previous-chats-disappearing-when-closing-cursor/3818>\
**Category:** Bug Reports\
**Created:** [March 28, 2024, 12:34pm UTC](https://forum.cursor.com/t/previous-chats-disappearing-when-closing-cursor/3818 "2024-03-28T12:34:59Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Terry](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@Terry](https://forum.cursor.com/u/Terry)\
**Post date:** [April 2, 2024, 10:29pm UTC](https://forum.cursor.com/t/previous-chats-disappearing-when-closing-cursor/3818/5 "2024-04-02T22:29:54Z")

</div>

```auto
 ~/eon-features  tree                                                                                    
.
├── eon-features.code-workspace
└── ml-feature-set
    ├── README.md
    ├── __pycache__

```

If I change the name of the directory `~/eon-features` to `~/dev` as follows:

```auto
 ~/dev  tree                                                                                    
.
├── eon-features.code-workspace
└── ml-feature-set
    ├── README.md
    ├── __pycache__

```

all the history in the “All Chats” be gone!

But if I change the directory name back, the history will all come back.

Is there a way to retain my history while allowing me to change the top level directory name?

---

_[View the full topic](https://forum.cursor.com/t/previous-chats-disappearing-when-closing-cursor/3818)._
