Skip to content

added editor_cmd in config.rs#18

Merged
dzfrias merged 1 commit intodzfrias:mainfrom
Absobel:main
Jun 29, 2023
Merged

added editor_cmd in config.rs#18
dzfrias merged 1 commit intodzfrias:mainfrom
Absobel:main

Conversation

@Absobel
Copy link
Copy Markdown
Contributor

@Absobel Absobel commented Jun 29, 2023

and defaulted it to the env variable EDITOR and vi if not set

Okay this is actually my first pull request for a open source project ever, tell me if I'm doing things wrong

I tested this on my machine and it worked
I don't know if I have to add unit tests for that though

@Absobel Absobel mentioned this pull request Jun 29, 2023
Copy link
Copy Markdown
Owner

@dzfrias dzfrias left a comment

Choose a reason for hiding this comment

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

Looks great!

@dzfrias dzfrias merged commit e68f144 into dzfrias:main Jun 29, 2023
@Absobel
Copy link
Copy Markdown
Contributor Author

Absobel commented Jun 29, 2023

Forgot to modify CONFIG.md though

@dzfrias
Copy link
Copy Markdown
Owner

dzfrias commented Jun 29, 2023

That's good. We should wait to put it in CONFIG.md because the option won't work until a new release is out (unless they download from the main branch).

@Absobel
Copy link
Copy Markdown
Contributor Author

Absobel commented Jun 29, 2023

Ah, I see 😌

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.

2 participants