fish-shell/share/completions/read.fish
David Adam 60fdd71f74 read: update completions
--right-prompt added in fe9cf673a2 but missed from the
completions.

With thanks to nafg@github.
2015-07-24 18:18:10 +08:00

13 lines
1.2 KiB
Fish

complete -c read -s h -l help --description "Display help and exit"
complete -c read -s p -l prompt --description "Set prompt command" -x
complete -c read -s x -l export --description "Export variable to subprocess"
complete -c read -s g -l global --description "Make variable scope global"
complete -c read -s l -l local --description "Make variable scope local"
complete -c read -s U -l universal --description "Make variable scope universal, i.e. share variable with all the users fish processes on this computer"
complete -c read -s u -l unexport --description "Do not export variable to subprocess"
complete -c read -s m -l mode-name --description "Name to load/save history under" -r -a "read fish"
complete -c read -s c -l command --description "Initial contents of read buffwhen reading interactively"
complete -c read -s s -l shell --description "Use syntax highlighting, tab completions and command termination suitable for entering shellscript code"
complete -c read -s n -l nchars --description "Read the specified number of characters"
complete -c read -s a -l array --description "Store the results as an array"
complete -c read -s R -l right-prompt --description "Set right-hand prompt command" -x