Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recent dir file location #651

Open
wants to merge 2 commits into
base: update_toml_cleanup
Choose a base branch
from

Conversation

Stoppedpuma
Copy link
Collaborator

@woelper Please review these changes just in-case I've overlooked something. I've also renamed this file from efd_history to last_open_directory as I think that makes more sense (I intentionally did open instead of opened since you have to open a file here for it to actually update I think).

Merges into #637

@Stoppedpuma Stoppedpuma requested a review from woelper February 26, 2025 22:22
dirs::cache_dir()
.context("Can't get temp dir")?
.join(".efd_history"),
dirs::data_local_dir()
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change sparked from here: #650 (comment). If this was intentional, this can be reverted.

@Stoppedpuma
Copy link
Collaborator Author

An alternative is ditching this file all together and just reading the "last_open_directory" line from config_volatile.json which now that I'm thinking about it would make more sense anyways since this is kind of duplicate behaviour?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant