An adapted fn of what I use on ubuntu but leverages WSL exposing clip.exe
to get stuff on your clipboard
# Copy file contents or stdin to clipboard
# Usage: cz [file]
# cz file.txt - copy file to clipboard
# cmd | cz - copy stdin to clipboard
# Fails on: binary files, files >10MB, non-existent files