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.

11 lines
314 B

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