Browse files

Cleaned up category parsing

  • Loading branch information...
1 parent fe417c2 commit ea2304625eb7e8c2e1526a46a0338c46932cdf3e @mtorromeo committed Sep 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 zsh_completion
View
2 zsh_completion
@@ -1,7 +1,7 @@
#compdef burp
_categories() {
- burp -c help | head -n -1 | tail -n +2 | while read CAT; do
+ burp -c help | sed '1d;$d' | while read CAT; do
_wanted "AUR categories" expl "AUR categories" compadd -- $CAT
done
}

0 comments on commit ea23046

Please sign in to comment.