diff options
-rw-r--r-- | scripts/bash_completion | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/bash_completion b/scripts/bash_completion index 2a51276d0..bead4031a 100644 --- a/scripts/bash_completion +++ b/scripts/bash_completion @@ -10,11 +10,7 @@ _ptxdist_completion() { local cur cmds opts _ptxdist_cmd - if [ "${COMP_WORDS[0]}" = "ptxdist" ]; then - _ptxdist_cmd="ptxdist" - else - _ptxdist_cmd="${COMP_WORDS[0]}" - fi + _ptxdist_cmd="${COMP_WORDS[0]}" COMPREPLY=() cur=( $(_get_cword) ) |