Current version of pipenv 2018.7.1 is unusable

Arch Linux ships the zsh shell by default. However, the python package and version manager pipenv has a bug concerning shells other than /bin/bash. It seems like the update has been pushed to the Arch repos without any tests.

The bug has been fixed upstream already. However, there's no new release yet. For the time being, downgrading pipenv to version 2018.6.25 is the only solution. In order to prevent further upgrades add the package to IgnorePkg in /etc/pacman.conf.

pacman -U /var/cache/pacman/pkg/python-pipenv-2018.6.25-1-any.pkg.tar.xz
/etc/pacman.conf:
    IgnorePkg = python-pipenv