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

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