diff options
| -rw-r--r-- | etc/completion/bash/guix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix index 2a3fa1201e1..e4d9a497b34 100644 --- a/etc/completion/bash/guix +++ b/etc/completion/bash/guix | |||
| @@ -35,7 +35,7 @@ _guix_complete_installed_package () | |||
| 35 | _guix_complete_option () | 35 | _guix_complete_option () |
| 36 | { | 36 | { |
| 37 | local options="$(${COMP_WORDS[0]} ${COMP_WORDS[1]} --help \ | 37 | local options="$(${COMP_WORDS[0]} ${COMP_WORDS[1]} --help \ |
| 38 | | grep '^ -' \ | 38 | | grep '^ \+-' \ |
| 39 | | sed -e's/^.*--\([a-zA-Z0-9_-]\+\)\(=\?\).*/--\1\2/g' )" | 39 | | sed -e's/^.*--\([a-zA-Z0-9_-]\+\)\(=\?\).*/--\1\2/g' )" |
| 40 | compopt -o nospace | 40 | compopt -o nospace |
| 41 | COMPREPLY=($(compgen -W "$options" -- "${COMP_WORDS[$word_count - 1]}")) | 41 | COMPREPLY=($(compgen -W "$options" -- "${COMP_WORDS[$word_count - 1]}")) |
