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

Pure log #525

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

Pure log #525

wants to merge 2 commits into from

Conversation

woefe
Copy link

@woefe woefe commented Jun 25, 2019

This PR removes the Python dependency for logging. In particular, I implemented string escaping directly in Zsh. This increases logging speed and startup time, if $ZPLUG_LOADFILE does not exist (see #368 (comment)).

Replaces the Python script for JSON string escaping with a pure Zsh
solution.
Removes the dead if branch and a useless call of `tr`. After escaping,
the string does not have newlines. Hence there is no need to remove them
with `tr`.
@woefe woefe requested a review from a team as a code owner June 25, 2019 09:23
@woefe woefe mentioned this pull request Jun 25, 2019
@babarot
Copy link
Member

babarot commented Jan 30, 2020

Thank you for this PR! Gonna take a look!

@babarot babarot added this to the v2.5.0 milestone Jan 30, 2020
@babarot
Copy link
Member

babarot commented Jan 30, 2020

I may not merge this because I have a plan to disable log itself #539

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