todoist
todoist copied to clipboard
How to use date keybinding?
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 What is your OS & shell? Please also tell me the version.
zsh 5.4.1 (x86_64-apple-darwin17.0.0)
macOS 10.13 (beta)
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?
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'