Merge pull request #1702 from mbauhardt/copyfile

a plugin (function) which copies the content of a file into the clipboar...
master
Robby Russell 13 years ago
commit 1235b77eff
  1. 5
      plugins/copyfile/copyfile.plugin.zsh

@ -0,0 +1,5 @@
function copyfile {
[[ "$#" != 1 ]] && return 1
local file_to_copy=$1
cat $file_to_copy | pbcopy
}
Loading…
Cancel
Save