From 4b28e9d2e4da5eef057c2350451040a69d43cf8c Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 12 Nov 2018 23:08:45 +0800 Subject: [PATCH] read: update completions to include --lines and --null Does not include --all-lines pending discussion in #5332. --- share/completions/read.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/completions/read.fish b/share/completions/read.fish index f8d2e0513..23076bbb1 100644 --- a/share/completions/read.fish +++ b/share/completions/read.fish @@ -12,3 +12,5 @@ complete -c read -s s -l silent -d "Secure mode: mask characters at the command complete -c read -s n -l nchars -d "Read the specified number of characters" complete -c read -s a -l array -d "Store the results as an array" complete -c read -s R -l right-prompt -d "Set right-hand prompt command" -x +complete -c read -s z -l null -d "Use NUL character as line terminator" +complete -c read -s l -l line -d "Read each line into its own variable"