2
0

copyfile.plugin.zsh 148 B

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