repo-cli 0.1.3

A sane way to manage all of your git repositories
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function work()
{
  local 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()
{
  COMPREPLY=($(compgen -W "$(__repo_repositories)" -- ${COMP_WORDS[1]}))
}

complete -F _work work