copyfile.plugin.zsh 105 B

12345
  1. function copyfile {
  2. [[ "$#" != 1 ]] && return 1
  3. local file_to_copy=$1
  4. cat $file_to_copy | pbcopy
  5. }