This website works better with JavaScript
Home
Explore
Help
Sign In
HonorLee
/
ohmyzsh
mirror of
https://github.com/ohmyzsh/ohmyzsh.git
Watch
1
Star
0
Fork
0
Files
Issues
0
Wiki
Tree:
eea77b7cb7
Branches
Tags
master
ohmyzsh
/
plugins
/
copyfile
/
copyfile.plugin.zsh
copyfile.plugin.zsh
105 B
History
Raw
1
2
3
4
5
function copyfile {
[[ "$#" != 1 ]] && return 1
local file_to_copy=$1
cat $file_to_copy | pbcopy
}