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

Support wakatime-cli custom path #15

Merged
merged 3 commits into from
Oct 27, 2021
Merged

Conversation

enricodeleo
Copy link
Contributor

As per #14 this contribution introduces support for custom-located wakatime binary.

This addresses an issue with recent homebrew's wakatime formulas that put the binary under /usr/local/bin/wakatime-cli (or /opt/homebrew/bin/wakatime-cli on M1 machines).

Usage example:

# add to ~/.zshrc
# Track usage of terminal in Wakatime
export ZSH_WAKATIME_BIN=$(brew --prefix)/bin/wakatime-cli
antigen bundle /Users/enricodeleo/Development/forks/wakatime-zsh-plugin --no-local-clone

Copy link
Owner

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Thanks!

wakatime.plugin.zsh Outdated Show resolved Hide resolved
wakatime.plugin.zsh Outdated Show resolved Hide resolved
Copy link
Owner

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Awesome, thank you!

@sobolevn sobolevn merged commit 1a846a2 into sobolevn:master Oct 27, 2021
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