From d26a537c8190e8f308b4a8e9176044833e6bfac4 Mon Sep 17 00:00:00 2001 From: Nuri Jung Date: Fri, 19 Sep 2025 21:23:03 +0900 Subject: [PATCH] docs(plugins/copyfile): document that filename is optional --- plugins/copyfile/copyfile.plugin.zsh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 }