diff --git a/README.rst b/README.rst index 12ba356..51216d9 100644 --- a/README.rst +++ b/README.rst @@ -27,10 +27,10 @@ location. .. code-block:: bash - src emonty/src.sh + src ansible/ansbile -Results in the ``emonty/src.sh`` repo being cloned to -``~/src/github.com/emonty/src.sh`` if it's not already there and that being set +Results in the ``ansible/ansible`` repo being cloned to +``~/src/github.com/ansible/ansible`` if it's not already there and that being set to the current directory. Configuration @@ -51,13 +51,15 @@ defaults to "github.com". For instance: .. code-block:: bash - export SRCSRCPREFIXES="git.openstack.org/openstack-infra \ - git.openstack.org/openstack \ - github.com" - src shade + export SRCSRCPREFIXES="opendev.org/opendev \ + opendev.org/inaugust \ + gitlab.com/waterwanders \ + github.com \ + gerrit.googlesource.com" + src src.sh Results in shade being cloned to -``~/src/git.openstack.org/openstack-infra/shade``. +``~/src/opendev.org/inaugust/src.sh``. ``src.sh`` defaults to using cd to change directories. Setting ``$SRCSRCUSEPUSHD=1`` will cause it to use pushd instead.