Skip to content

Commit

Permalink
look at more git stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Chu committed Sep 15, 2018
1 parent 61bc9db commit 03e5609
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions scripts/complete.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ set -o nounset
set -o pipefail
set -o errexit

git-audit() {
local file=testdata/completion/git-completion.bash
audit() {
local file=${1:-testdata/completion/git-completion.bash}

echo
echo --
Expand All @@ -27,4 +27,17 @@ git-audit() {
grep -E --color ']+=' $file
}

audit-git() {
audit
}

audit-distro() {
local path=/usr/share/bash-completion/bash_completion
audit $path
}

list-distro() {
find /usr/share/bash-completion/ -type f | xargs wc -l | sort -n
}

"$@"

0 comments on commit 03e5609

Please sign in to comment.