diff options
author | Igor Murzov <e-mail@date.by> | 2012-01-10 03:48:15 +0400 |
---|---|---|
committer | Igor Murzov <e-mail@date.by> | 2012-01-10 03:50:00 +0400 |
commit | 2e975278c59de9ab6caa5ace65de4b49c6678e65 (patch) | |
tree | b631b66b5d738c89ffc56f196a70bb033f685eaf | |
parent | b515b0dd38158d990be1315db3f8d98f4cb39115 (diff) | |
download | bash-completion-2e975278c59de9ab6caa5ace65de4b49c6678e65.tar.gz |
_command_offset: Properly quote arguments of eval (Alioth: #313499).
-rw-r--r-- | bash_completion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash_completion b/bash_completion index e3ff95f1..ef79f0ab 100644 --- a/bash_completion +++ b/bash_completion @@ -1712,7 +1712,7 @@ _command_offset() else cspec=${cspec#complete} cspec=${cspec%%$compcmd} - COMPREPLY=( $( eval compgen "$cspec" -- "$cur" ) ) + COMPREPLY=( $( eval compgen "$cspec" -- '$cur' ) ) fi elif [[ ${#COMPREPLY[@]} -eq 0 ]]; then # XXX will probably never happen as long as completion loader loads |