homes/common/.oh-my-zsh/plugins/copyfile/copyfile.plugin.zsh
Christophe Buffenoir 16b4350cdb Initial commit
2013-05-02 12:38:30 +02:00

5 lines
105 B
Bash

function copyfile {
[[ "$#" != 1 ]] && return 1
local file_to_copy=$1
cat $file_to_copy | pbcopy
}