owenthereal/gh

Rebuild release for gh_1.0.0_darwin_amd64.zip

johnbellone opened this issue · 3 comments

There's a syntax error in the bash completion script that is showing up but doesn't seem visible in the repository.

 # hub create [NAME] [-p] [-d DESCRIPTION] [-h HOMEPAGE]
  _git_create() {
    local i c=2 name repo flags="-p -d -h"
    while [ $c -lt $cword ]; do
      i="${words[c]}"
      case "$i" in
        -d|-h)
          ((c++))
          ;;&    <------------------
        -p|-d|-h)
          flags=${flags/$i/}
          ;;
        *)
          name=$i
          ;;
      esac
      ((c++))
    done

It exists at least twice.

I ran into this while performing a boxen installation.

I just rebuilt the package for gh_1.0.0_darwin_amd64.zip with the updated completion scripts from master, could you reinstall and see if it fixes it?

I'm closing this one. Let me know if it doesn't work