wakatime-zsh-plugin
wakatime-zsh-plugin copied to clipboard
wakatime-cli not installed (Windows fix)
I use this plugin for Git Windows and the change for path in commit #15 breaks that support!
if (( ! $+commands[wakatime] )); then <--- This works
if ! wakatime_loc="$(type -p "$wakatime_bin")"; then <--- This does not work
Maybe some type of else check using the old logic might work.
It seems that the type -p command does not actually work on windows. So if you get questions about this in the future that might be the issue.
Thanks! @hiq-davidholmstedt can you please send a pr with a windows-friendly solution? I don't have any windows machines, so I cannot test it.