aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-02 12:43:46 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-02 12:43:46 +1300
commit1f55ea284b7af62630de2883b6d6671a77a39a95 (patch)
tree7c89e5f851a699e6ab029660d642119cd1b5076e
parentThrow away Git Bash completion (diff)
downloaddotfiles-1f55ea284b7af62630de2883b6d6671a77a39a95.tar.gz
dotfiles-1f55ea284b7af62630de2883b6d6671a77a39a95.zip
Throw away chgrp completion
I almost never run this as my own user.
-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 e63651c5..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 -- "$2")
-}
-complete -F _chgrp -o bashdefault -o default chgrp