fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Fabian Boehmcompletions: Add missing options for our builtinsba193665e

master
1.4 KiB20 linesraw
1# Completion for builtin read
2complete -c read -s h -l help -d "Display help and exit"
3complete -c read -s p -l prompt -d "Set prompt command" -x
4complete -c read -s P -l prompt-str -d "Set prompt using provided string" -x
5complete -c read -s x -l export -d "Export variable to subprocess"
6complete -c read -s g -l global -d "Make variable scope global"
7complete -c read -s l -l local -d "Make variable scope local"
8complete -c read -s f -l function -d "Make variable function-scoped"
9complete -c read -s U -l universal -d "Share variable with all the users fish processes on the computer"
10complete -c read -s u -l unexport -d "Do not export variable to subprocess"
11complete -c read -s c -l command -d "Initial contents of read buffer when reading interactively" -r
12complete -c read -s S -l shell -d "Read like the shell would"
13complete -c read -s s -l silent -d "Mask input with ●"
14complete -c read -s n -l nchars -d "Read the specified number of characters" -x
15complete -c read -s a -l list -l array -d "Store the results as an array"
16complete -c read -s R -l right-prompt -d "Set right-hand prompt command" -x
17complete -c read -s z -l null -d "Use NUL character as line terminator"
18complete -c read -s L -l line -d "Read each line into its own variable"
19complete -c read -s d -l delimiter -d "Set string to use as delimiter" -x
20complete -c read -s t -l tokenize -d "Use shell tokenization rules when splitting"