Code Monkey home page Code Monkey logo

zsh-wakatime's People

Contributors

alanhamlett avatar branicyeti avatar devkinetic avatar thepont avatar tmayad avatar wbingli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

zsh-wakatime's Issues

By default, $PATH is not set and an alias is not set either

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

Non-terminal tasks being tracked

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?

Changing directory using "-" causes argument --entity is required error

@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

send_wakatime_heartbeat:3: nice(5) failed: operation not permitted

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.

Not working?

Does this still work?
No commands seems to get tracked.

Command not found: add-zsh-hook

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?

Does not seem to log

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.

waka_filename:1: = not found

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.