dotfiles/dot_oh-my-zsh/plugins/copyfile/copyfile.plugin.zsh
2023-01-30 14:28:59 +01:00

7 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
}