Grab bag of random fish scripts and functions I've collected
1function ,upload --wraps='rclone copy' --description 'Upload files to jaromino.com'
2 set file (basename "$argv")
3 set file (string escape --style=url "$file")
4 rclone copy "$argv" Jaromino:/home/public/jaromino.com/Files/ -P --ignore-existing
5 or return $status
6
7 set url (printf "https://jaromino.com/Files/%s" "$file")
8 echo "$url" | pbcopy
9 printf "%s\n" "$url"
10end