2015-08-18 10:53:45 +08:00
|
|
|
# Copies the contents of a given file to the system or X Windows clipboard
|
|
|
|
#
|
|
|
|
# copyfile <file>
|
2013-04-09 04:32:00 +08:00
|
|
|
function copyfile {
|
2015-08-18 10:53:45 +08:00
|
|
|
emulate -L zsh
|
|
|
|
clipcopy $1
|
2013-04-09 04:32:00 +08:00
|
|
|
}
|