wbingli / zsh-wakatime Goto Github PK
View Code? Open in Web Editor NEWZSH plugin for wakatime
License: MIT License
ZSH plugin for wakatime
License: MIT License
Hey!
Just a quick note. I was just setting up this plugin to my macOS installation (using oh-my-zsh) and noticed that some people might get confused since nothing seems to set the $PATH
variable for the wakatime-cli
. I would implement a check to verify that it indeed is set and wakatime
command exists. Also, by default, the wakatime CLI is wakatime-cli
and not just wakatime
, so an alias is required also. Maybe it's an isolated issue in macOS, but that's what happened to me just now, so I thought I'd let you know.
Cheers
I have installed the plugins for PHPStorm, Chrome and iTerm2 (ZSH).
In my dashboard, I am seeing a 'Terminal' project, which shows work done inside the terminal but also shows stuff done in Chrome, which is odd.
I use both PHPStorm and iTerm together, but I cannot seem to collate the data in the dashboard.
PHPStorm plugin seems ot understand when I'm in a project folder and that appears in the dashboard.
How can I make sure that the ZSH plugin is tracking tasks done in iTerm when im inside a folder, and NOT track the Chrome tasks?
It depends on zsh 6.0 or higher.
is this serious or just a typo issue?
@iamaaditya writes,
Oh-my-zsh adds alias to "cd -" to just "-". When I use "-" command to goto previous directory I get following error:
$ usage: wakatime [-h] [--entity FILE] [--key KEY] [--write] [--plugin PLUGIN]
[--time time] [--lineno LINENO] [--cursorpos CURSORPOS]
[--entity-type ENTITY_TYPE] [--proxy PROXY]
[--project PROJECT] [--alternate-project ALTERNATE_PROJECT]
[--alternate-language ALTERNATE_LANGUAGE]
[--hostname HOSTNAME] [--disableoffline] [--hidefilenames]
[--exclude EXCLUDE] [--include INCLUDE] [--extra-heartbeats]
[--logfile LOGFILE] [--apiurl API_URL] [--timeout TIMEOUT]
[--config CONFIG] [--verbose] [--version]
wakatime: error: argument --entity is required
**Linux**
Linux <system_name> 4.2.0-16-lowlatency #19-Ubuntu SMP PREEMPT Thu Oct 8 16:19:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily
I keep getting send_wakatime_heartbeat:3: nice(5) failed: operation not permitted
after every command in Windows Subsystem for Linux, Ubuntu 16.04.5 LTS x86_64. Despite the error, it looks like it still works—i.e. the website says it's communicating with the plugin.
On the other hand, my non-WSL Linux terminals with the plugin are functioning without error.
Does this still work?
No commands seems to get tracked.
Hello,
I'm having a problem when I open the terminal I get the following mesage:
~/.oh-my-zsh/custom/plugins/zsh-wakatime/zsh-wakatime.plugin.zsh:19: command not found: add-zsh-hook
zsh --version
zsh 5.2 (x86_64-unknown-linux-gnu)
Can you help me fix it?
For whatever reason, I cannot clone your git into ZSH and use the WakaTime plugin, have you had anyone experience this yet?
wakatime --write --plugin zsh-wakatime/0.0.1 --entity-type app --project Terminal --entity ...
I did the setup and added my API key, however, no logging data is showing up in my dashboard. I'm on Mac OS 10.5.6.
Is it possible to use this plugin (maybe with a few changes) with prezto?
Hey,
I added this to my plugin folder but I keep getting this error waka_filename:1: = not found
. Any way to avoid this? or am I missing something in the .wakatime.cfg
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.