Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
342 B

  1. function smol-delete
  2. # delete and show
  3. set userpass (pass show technology/linux/liteshort)
  4. set url https://smol.gq
  5. curl -u $userpass -d 'format=json' \
  6. -d 'api=delete' \
  7. -d "short=$argv[1]" \
  8. $url | jq .
  9. and curl -u $userpass -d 'format=json' \
  10. -d 'api=listshort' \
  11. $url | jq .
  12. end