mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 10:11:10 +08:00
Update completions for read
builtin
This commit is contained in:
parent
0152ba87c8
commit
0d43615af2
@ -1,3 +1,4 @@
|
||||
# Completion for builtin read
|
||||
complete -c read -s h -l help -d "Display help and exit"
|
||||
complete -c read -s p -l prompt -d "Set prompt command" -x
|
||||
complete -c read -s x -l export -d "Export variable to subprocess"
|
||||
@ -10,7 +11,9 @@ complete -c read -s c -l command -d "Initial contents of read buffer when readin
|
||||
complete -c read -s S -l shell -d "Use syntax highlighting, tab completions and command termination suitable for entering shellscript code"
|
||||
complete -c read -s s -l silent -d "Secure mode: mask characters at the command line (suitable for passwords)"
|
||||
complete -c read -s n -l nchars -d "Read the specified number of characters" -x
|
||||
complete -c read -s a -l array -d "Store the results as an array"
|
||||
complete -c read -s a -l list -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"
|
||||
complete -c read -s d -l delimiter -d "Set string to use as delimiter" -x
|
||||
complete -c read -s t -l tokenize -d "Use shell tokenization rules when splitting"
|
||||
|
Loading…
x
Reference in New Issue
Block a user