# workspace: Add restore_on_startup setting that allows always opening an empty Zed instance \(\#10366\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2f616fe8eb455248d05e7cba9ae30a4c5f13270c)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2f616fe8eb455248d05e7cba9ae30a4c5f13270c

Requested commit: 2f616fe8eb455248d05e7cba9ae30a4c5f13270c

Commit: 2f616fe8eb455248d05e7cba9ae30a4c5f13270c

Tree: 8cced4fa39acf9a0a7db515bb7c2e07f72e39b54

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
workspace: Add restore_on_startup setting that allows always opening an empty Zed instance (#10366)

Fixes #7694
The new setting accepts "last_workspace" (default) and "none" as
options.

In a follow-up PR I'll add a new option that re-launches all of the Zed
windows and not just the last one.

Release Notes:

- Added `restore_on_startup` option, accepting `last_workspace`
(default) and `none` options. With `none`, new Zed instances will not
restore workspaces that were open last.
```

## Parents

- [fef0516f5b49300a74f109c44645280409977d41](https://git.cafe/gitcafe/zed/commit/fef0516f5b49300a74f109c44645280409977d41?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2f616fe8eb455248d05e7cba9ae30a4c5f13270c?format=markdown)
