diff --git a/justfile b/justfile index 49dfdc1..3ff48a0 100644 --- a/justfile +++ b/justfile @@ -8,9 +8,7 @@ draw n: # show a cutup cutup: - recsel -P desc tarot.rec > /tmp/tarotdesc.txt && \ - vim -es -c ":set tw=30" -c ":norm gggqGgg" -c ":g/^$/d" -c ":1,\$!shuf" -c ":wq!" /tmp/tarotdesc.txt && \ - head -n 5 /tmp/tarotdesc.txt + recsel -P desc tarot.rec | fold -sw 30 | sed '/^$/d' | shuf | head -n 5 # example: group by type type: