feat(completion): add missing -P option to read command

This commit is contained in:
Delapouite 2020-03-30 17:23:25 +02:00 committed by Johannes Altmanninger
parent 33d963dad9
commit 9459958c61

View File

@ -1,6 +1,7 @@
# Completion for builtin read # Completion for builtin read
complete -c read -s h -l help -d "Display help and exit" 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 p -l prompt -d "Set prompt command" -x
complete -c read -s P -l prompt-str -d "Set prompt using provided string" -x
complete -c read -s x -l export -d "Export variable to subprocess" complete -c read -s x -l export -d "Export variable to subprocess"
complete -c read -s g -l global -d "Make variable scope global" complete -c read -s g -l global -d "Make variable scope global"
complete -c read -s l -l local -d "Make variable scope local" complete -c read -s l -l local -d "Make variable scope local"