diff --git a/plugins/copyfile/copyfile.plugin.zsh b/plugins/copyfile/copyfile.plugin.zsh index da6e4039c..cc1bf818c 100644 --- a/plugins/copyfile/copyfile.plugin.zsh +++ b/plugins/copyfile/copyfile.plugin.zsh @@ -1,11 +1,12 @@ -# Copies the contents of a given file to the system or X Windows clipboard +# Copies the contents of a given file or stdin to the system or X Windows +# clipboard # -# Usage: copyfile +# Usage: copyfile [] function copyfile { emulate -L zsh clipcopy "${1-}" || { - echo "Usage: copyfile " + echo "Usage: copyfile []" return 1 }