We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 149942a commit 69cf623Copy full SHA for 69cf623
share/completion/read
@@ -1,4 +1,4 @@
1
-# (C) 2010-2015 magicant
+# (C) 2010-2025 magicant
2
3
# Completion script for the "read" built-in command.
4
@@ -7,6 +7,7 @@ function completion/read {
7
typeset OPTIONS ARGOPT PREFIX
8
OPTIONS=( #>#
9
"A --array; assign words to an array"
10
+ "d: --delimiter:; specify a delimiter"
11
"e --line-editing; use line-editing"
12
"P --ps1; use \$PS1 as a prompt"
13
"p: --prompt:; specify a prompt"
@@ -19,6 +20,8 @@ function completion/read {
19
20
(-)
21
command -f completion//completeoptions
22
;;
23
+ (d|--delimiter)
24
+ ;;
25
(p|--prompt)
26
complete -P "$PREFIX" -fv
27
0 commit comments