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.
 
 
 

10 lines
277 B

function smol-add
if test (count $argv) -eq 2
curl -d 'format=json' \
-d "long=$argv[1]" \
-d "short=$argv[2]" \
https://smol.gq | jq .
else
curl -d 'format=json' -d "long=$argv[1]" https://smol.gq | jq .
end
end