Files
dotfiles/zsh/.oh-my-zsh/plugins/copyfile/copyfile.plugin.zsh
Christian Nieves 76a6480b62 Populate repo
2022-04-19 15:50:47 +00:00

8 lines
148 B
Bash

# Copies the contents of a given file to the system or X Windows clipboard
#
# copyfile <file>
function copyfile {
emulate -L zsh
clipcopy $1
}