function mdcp -a url if test -z "$url" echo "usage: mdcp " >&2 return 1 end curl.md $url | wl-copy wl-paste | mdfried end