From cde5b5d0deab1b9c518d4ea5b32771ea27016987 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 23 Jan 2024 19:01:06 +0000 Subject: Adds tickle function for adding things to tw tickler file --- bashrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bashrc') diff --git a/bashrc b/bashrc index 0a85dd3..a487cf3 100644 --- a/bashrc +++ b/bashrc @@ -95,6 +95,12 @@ export FZF_ALT_C_COMMAND="$FZF_DEFAULT_COMMAND" #export FZF_DEFAULT_OPTS="--preview='bat --color=always {}' --bind shift-up:preview-page-up,shift-down:preview-page-down --color info:108,prompt:109,spinner:108,pointer:168,marker:168" #export FZF_DEFAULT_OPTS="--preview='--bind shift-up:preview-page-up,shift-down:preview-page-down --color info:108,prompt:109,spinner:108,pointer:168,marker:168" +# taskwarrior tickler file - https://cs-syd.eu/posts/2015-06-28-gtd-with-taskwarrior-part-3-tickling +tickle () { + deadline=$1 + shift + task add wait:$deadline $@ +} # fzf source /usr/share/fzf/key-bindings.bash source /usr/share/fzf/completion.bash -- cgit v1.2.3