mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 16:30:09 +00:00
6 lines
105 B
Bash
6 lines
105 B
Bash
|
function copyfile {
|
||
|
[[ "$#" != 1 ]] && return 1
|
||
|
local file_to_copy=$1
|
||
|
cat $file_to_copy | pbcopy
|
||
|
}
|