parent
7b1cf79b19
commit
48331f34ed
1 changed files with 2 additions and 2 deletions
|
@ -11,13 +11,13 @@ if echo "$tracking" | grep -q '^ ▶ tracking'; then
|
|||
fi
|
||||
|
||||
selection="$(zeit list \
|
||||
--only-projects-and-tasks \
|
||||
--only-tasks \
|
||||
--append-project-id-to-task \
|
||||
| fuzzel-run \
|
||||
--dmenu
|
||||
)"
|
||||
|
||||
task="$(echo $selection | pcregrep -io1 '└── (.+) \[.+')"
|
||||
task="$(echo $selection | pcregrep -io1 '(.+) \[.+')"
|
||||
project="$(echo $selection | pcregrep -io1 '.+\[(.+)\]')"
|
||||
if test "$task" = "" || "$project" = ""; then
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue