mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
Merge 0854b18cdf into 42127bee6d
This commit is contained in:
commit
c488389767
1 changed files with 5 additions and 0 deletions
5
plugins/copyfile/copyfile.plugin.zsh
Normal file
5
plugins/copyfile/copyfile.plugin.zsh
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
function copyfile {
|
||||||
|
[[ "$#" != 1 ]] && return 1
|
||||||
|
local file_to_copy=$1
|
||||||
|
cat $file_to_copy | pbcopy
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue