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

Use string replace instead of sed #87

Merged
merged 1 commit into from
Aug 27, 2019
Merged

Conversation

james2doyle
Copy link
Contributor

It seems like this was broken on my machine (OSX, 10.14.6) when using the completions. It would strip the , but it would not add a proper newline. Instead it added nothing. So it just become a giant single line. Basically, it didn’t work.

With this change, the string gets split properly. Since this is fish shell, the string replace command is guaranteed to be there.

It seems like this was broken on my machine (OSX, 10.14.6) when using the completions. It would strip the `, ` but it would not add a proper newline. Instead it added nothing. So it just become a giant single line. Basically, it didn’t work.

With this change, the string gets split properly. Since this is fish shell, the `string replace` command is guaranteed to be there.
@dbrgn
Copy link
Collaborator

dbrgn commented Aug 27, 2019

Thanks! Not a fish user, but I'll just believe you that this works 🙂

@dbrgn dbrgn merged commit 15583fc into tealdeer-rs:master Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants