todoist icon indicating copy to clipboard operation
todoist copied to clipboard

How to use date keybinding?

Open Jayphen opened this issue 7 years ago • 4 comments

I do not quite understand how to use the keybinding for date.

When I use the binding, it simply shows a peco query search field but with no items in the results to filter from.

When I hit return (with nothing selected), I get:

peco-todoist-date:10: no matches found: -I#

Jayphen avatar Aug 30 '17 22:08 Jayphen

@Jayphen What is your OS & shell? Please also tell me the version.

sachaos avatar Sep 03 '17 16:09 sachaos

zsh 5.4.1 (x86_64-apple-darwin17.0.0)

macOS 10.13 (beta)

Jayphen avatar Sep 03 '17 17:09 Jayphen

I'm also lost on this. I already have peco installed and the todoist_functions.sh is already being called correctly. But what about that Peco function and keybinds?

fabiozc avatar Nov 27 '17 02:11 fabiozc

I have the same problem zsh 5.8 (x86_64-ubuntu-linux-gnu)

my date command has no -v option and is the GNU coreutils version - https://www.gnu.org/software/coreutils/manual/html_node/date-invocation.html#date-invocation

If I run:

 seq 0 30 | xargs -I# date -d # day '+%d/%m/%Y %a'                                                                                                                                                                                                                                                          
zsh: no matches found: -I#

But using this does work: seq 0 30 | xargs -I= date "-d = day" '+%d/%m/%Y %a'

chrisfleming avatar Feb 06 '23 16:02 chrisfleming