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