Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct csh syntax in activate_virtualenv #1513

Merged
merged 1 commit into from
Feb 28, 2018
Merged

Conversation

vishwin
Copy link
Contributor

@vishwin vishwin commented Feb 28, 2018

In csh, the . operator executes a directory, which is the wrong behaviour here. At best, when pipenv is installed system-wide (preferably via the operating system package manager), the result is a permission denied error from the shell.

As csh uses the source command, reflect that here.

In csh, the . operator executes a directory, which is the wrong
behaviour here. At best, when pipenv is installed system-wide
(preferably via the operating system package manager), the result
is a permission denied error from the shell.

As csh uses the source command, reflect that here.
@kennethreitz
Copy link
Contributor

omg we should just always use source

@kennethreitz kennethreitz merged commit 1c66946 into pypa:master Feb 28, 2018
@techalchemy
Copy link
Member

There was a relevant reason to switch, but yeah we should make sure we fall back if necessary. Maybe just try the alias and use source otherwise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants