aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/chgrp.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bash_completion.d/chgrp.bash')
-rw-r--r--bash/bash_completion.d/chgrp.bash8
1 files changed, 1 insertions, 7 deletions
diff --git a/bash/bash_completion.d/chgrp.bash b/bash/bash_completion.d/chgrp.bash
index d047f97f..5e93ccee 100644
--- a/bash/bash_completion.d/chgrp.bash
+++ b/bash/bash_completion.d/chgrp.bash
@@ -11,10 +11,4 @@ _chgrp() {
COMPREPLY[${#COMPREPLY[@]}]=$group
done < <(compgen -A group -- "${COMP_WORDS[COMP_CWORD]}")
}
-
-# bashdefault requires Bash >=3.0
-if ((BASH_VERSINFO[0] >= 3)) ; then
- complete -F _chgrp -o bashdefault -o default chgrp
-else
- complete -F _chgrp -o default chgrp
-fi
+complete -F _chgrp -o bashdefault -o default chgrp