Files
dotfiles/.oh-my-zsh/plugins/copyfile/copyfile.plugin.zsh
T
2020-05-06 22:06:16 +02:00

8 lines
148 B
Bash
Executable File

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