Merge branch 'master' into feature/vendor-pew

This commit is contained in:
2018-03-08 12:41:11 -05:00
committed by GitHub
+3 -3
View File
@@ -48,15 +48,15 @@ def cli(
):
if completion: # Handle this ASAP to make shell startup fast.
if PIPENV_SHELL:
os.environ['_PIPENV_COMPLETE'] = 'source-{0}'.format(PIPENV_SHELL.split(os.sep)[-1])
click.echo(click_completion.get_code(
shell=PIPENV_SHELL.split(os.sep)[-1], prog_name='pipenv'
))
else:
click.echo(
'Please ensure that the {0} environment variable '
'is set.'.format(crayons.normal('SHELL', bold=True)), err=True)
sys.exit(1)
c = delegator.run('pipenv')
click.echo(c.out)
sys.exit(0)
from . import core