1# Copies the contents of a given file to the system or X Windows clipboard
2#
3# copyfile <file>
4function copyfile {
5  emulate -L zsh
6  clipcopy $1
7}
8