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.bash14
1 files changed, 0 insertions, 14 deletions
diff --git a/bash/bash_completion.d/chgrp.bash b/bash/bash_completion.d/chgrp.bash
deleted file mode 100644
index 5e93ccee..00000000
--- a/bash/bash_completion.d/chgrp.bash
+++ /dev/null
@@ -1,14 +0,0 @@
-# Complete group names for first non-option chgrp(1) argument
-_chgrp() {
- local i
- for ((i = 1; i < COMP_CWORD; i++)) ; do
- case ${COMP_WORDS[i]} in
- -*) ;;
- *) return 1 ;;
- esac
- done
- while read -r group ; do
- COMPREPLY[${#COMPREPLY[@]}]=$group
- done < <(compgen -A group -- "${COMP_WORDS[COMP_CWORD]}")
-}
-complete -F _chgrp -o bashdefault -o default chgrp