repo-cli 0.1.3

A sane way to manage all of your git repositories
Documentation
function work()
{
  SCRIPT="$(repo work $@)"
  case $(uname -s) in
    MINGW*|MSYS*) SCRIPT="cd $(echo "/${SCRIPT:3}" | sed -e 's/\\/\//g' -e 's/://')" ;;
  esac
  [ $? -eq 0 ] && eval "$SCRIPT" || printf "$SCRIPT"
}

function _work()
{
  local repos
  repo list | while read line; do
    repos+=( $line )
  done
  _describe -t repositories 'repository names' repos
}

compdef _work work