mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
read: update completions to include --lines and --null
Does not include --all-lines pending discussion in #5332.
This commit is contained in:
parent
7abfd1db30
commit
4b28e9d2e4
1 changed files with 2 additions and 0 deletions
|
@ -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 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 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 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"
|
||||||
|
|
Loading…
Reference in a new issue