taskshell icon indicating copy to clipboard operation
taskshell copied to clipboard

TASKBIN env var for taskwarrior task executable.

Open gl-yziquel opened this issue 1 year ago • 2 comments

Hi.

I've experienced a name clash between task (taskwarrior executable) and task (form task runner from go-task in go).

Ideally, I would appreciate if the taskwarrior executable could be fed to tasksh using a TASKBIN environment variable. That would allow me to perform a clean resolution of that name clash.

(Otherwise, there are aliases and a whole lot of nonsense that I'd rather not go to if possible).

References:

https://github.com/GothenburgBitFactory/taskwarrior/issues/3463 https://github.com/go-task/task/issues/1672 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071939

gl-yziquel avatar May 26 '24 18:05 gl-yziquel

Code fixed here:

https://github.com/gl-yziquel/taskshell/tree/v1.2.0-yziquel

Pull request here:

https://github.com/GothenburgBitFactory/taskshell/pull/76

gl-yziquel avatar May 26 '24 21:05 gl-yziquel

The code below allows to use TASKBIN as a environment variable for the path of taskwarrior executable.

https://github.com/gl-yziquel/taskshell/tree/v1.2.0-yziquel

This helps to circumvent the name clash between go-task's task and taskwarrior's task.

gl-yziquel avatar May 26 '24 22:05 gl-yziquel