diff options
author | Matthew Lemon <y@yulqen.org> | 2024-02-08 13:45:00 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-02-08 13:45:00 +0000 |
commit | 02bed37d246321b2d5d52fd3e9862ddcc6e69dda (patch) | |
tree | d962035536b93ce1128836826592364a7b87e2a7 /fish2024/functions/_extract_description_from_task.fish | |
parent | 5cde3f37c37244cc906f2d79fa84656ef605e060 (diff) | |
parent | c06318c775b5843cbaeb44f457bcc8e345fd98d9 (diff) |
Fix merge from colorscheme clash
Diffstat (limited to '')
-rw-r--r-- | fish2024/functions/_extract_description_from_task.fish | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fish2024/functions/_extract_description_from_task.fish b/fish2024/functions/_extract_description_from_task.fish new file mode 100644 index 0000000..0b82d9d --- /dev/null +++ b/fish2024/functions/_extract_description_from_task.fish @@ -0,0 +1,5 @@ +function _extract_description_from_task --description 'Given a taskwarrior task ID, it returns the description of the task and adds it to clipboard' + set desc (task $argv[1] |grep Description |cut -d' ' -f4-) + echo $desc |xclip + echo $desc +end |