"vscode:/vscode.git/clone" did not exist on "2d4d22031170128d4609afc235df19935d4c3ce2"
Commit 0854b18c authored by Marko Bauhardt's avatar Marko Bauhardt
Browse files

a plugin (function) which copies the content of a file into the clipboard

parent 0198a129
function copyfile {
[[ "$#" != 1 ]] && return 1
local file_to_copy=$1
cat $file_to_copy | pbcopy
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment