diff --git a/lib/completion.d/ptools b/lib/completion.d/ptools index 7b652ef..085c636 100644 --- a/lib/completion.d/ptools +++ b/lib/completion.d/ptools @@ -5,7 +5,7 @@ function __pdev_branches() { { git for-each-ref refs/heads/ --format='%(refname:short)' git for-each-ref "refs/remotes/$prefix" --format='%(refname:short)' | grep -F "$prefix" | cut -c $((${#prefix} + 1))- - } | csort -u | + } | LANG=C sort -u | grep -vF HEAD | grep -vF master | grep -v '^release-' |