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

Malformed config file #42

Closed
ghost opened this issue Nov 29, 2022 · 4 comments
Closed

Malformed config file #42

ghost opened this issue Nov 29, 2022 · 4 comments

Comments

@ghost
Copy link

ghost commented Nov 29, 2022

The config file created by euporie lack a } at the end. Then euporie will give warnings when it starts.

@joouha
Copy link
Owner

joouha commented Nov 29, 2022

I can't reproduce this. I tried deleting my configuration file, running euporie-notebook, then changing a setting. The configuration file created at is valid JSON, and no warning is shown.

Euporie doesn't create a config file unless you change a setting through the menus or the command palette. Was there a particular configuration change you made through the UI which caused this issue?

You might just need to manually fix your config file if it is broken.

@ghost
Copy link
Author

ghost commented Nov 30, 2022

You are right.

For some reason cat doesn't show the last }.

But opening the file in a text editor shows it.

It's a bug in cat???? 😲

@ghost ghost closed this as completed Nov 30, 2022
@joouha
Copy link
Owner

joouha commented Nov 30, 2022

I suspect that's because there is no new-line at the end of the config file, and your shell overwrites the last time of output in your terminal to display your prompt.

@ghost
Copy link
Author

ghost commented Nov 30, 2022

I have to report it to fish shell? To starship prompt?

I don't understand.

Is it normal that it throws out relevant information because "I have to display the prompt"?

This issue was closed.
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

No branches or pull requests

1 participant