sjl/t

Detect and open URL's

AllanLRH opened this issue · 2 comments

It would be nice if t could detect and open urls in a task – maybe also adding a pop-function, to open the URL and get rid of the task in one instance :)
Which browser to use? This could be passed to t as part of the alias.

Which browser to use?

xdg-open can be used on Linux, to open the URL in the users default browser.
On Mac OSX there is similar tool, which is just called open.

Just my 2 cents - beauty of t is in its' simplicity.
For example, I thought it'd be good to put some version control to my tasks (since I might be interested in when I finished a particular task). I started to modify t to achieve this, but then I realized that this is not really needed - so I bailed and created a Bash script which wraps around t and takes care about lil' Git repo that stores all tasks history.
You can do the some for most of the RFE-like issues that are opened here (script also takes care of multiple tasks deletion).