copyfile.plugin.zsh 105 Bytes
Newer Older
1
2
3
4
5
function copyfile {
  [[ "$#" != 1 ]] && return 1
  local file_to_copy=$1
  cat $file_to_copy | pbcopy
}