From ed034970c28723b2927aff27714061cbb17777cd Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Thu, 10 Jul 2025 12:51:27 +0900 Subject: [PATCH] Update xsel completion v1.2.1 --- src/_xsel | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/_xsel b/src/_xsel index 43f9d20..8059fcf 100644 --- a/src/_xsel +++ b/src/_xsel @@ -28,7 +28,7 @@ # Description # ----------- # -# Completion script for xsel (https://www.vergenet.net/~conrad/software/xsel/). +# Completion script for xsel v1.2.1 (https://www.vergenet.net/~conrad/software/xsel/). # # ------------------------------------------------------------------------------ # Authors @@ -45,6 +45,7 @@ local selection='(-p --primary -s --secondary -b --clipboard)' _arguments -s \ $input{-a,--append}'[append standard input to the selection]' \ $input{-f,--follow}'[append to selection as standard input grows]' \ + $input{-z,--zeroflush}'[overwrites selection when zero(\\0) is received]' \ $input{-i,--input}'[read standard input into the selection]' \ {-o,--output}'[write the selection to standard output]' \ $operation{-c,--clear}'[clear the selection]' \ @@ -55,6 +56,7 @@ _arguments -s \ $operation{-k,--keep}'[do not modify the selections, but make the PRIMARY and SECONDARY selections persist even after the programs they were selected in exit]' \ $operation{-x,--exchange}'[exchange the PRIMARY and SECONDARY selections]' \ '--display[specify the server to use; see X(1)]:X display:_x_display' \ + '--windowName[specify the X WM_ NAME window property]:window_name' \ {-t,--selectionTimeout}'[specify the timeout in milliseconds within which the selection must be retrieved]:number' \ {-l,--logfile}'[specify the file to log errors to when detached (default $HOME/.xsel.log)]:log file:_files' \ {-n,--nodetach}'[do not detach from the controlling terminal]' \