We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Under zsh, you run the following code:
if [[ "$(basename ${(%):-%x})" != "..." ]]; then
Under a login shell, the shell executable begins with a dash (eg. '-zsh'), so basename fails with:
basename
$ eval "$(pipenv --completion)" basename: illegal option -- z usage: basename string [suffix] basename [-a] [-s suffix] string [...]
(pipenv uses click_completion internally.) To fix this, you can do:
pipenv
click_completion
basename -- ${(%):-%x}
Adding -- stops anything starting with - from being parsed as an argument.
--
-
The text was updated successfully, but these errors were encountered:
looks good to me. Could you submit a pull request with that fix?
Sorry, something went wrong.
fixed in #10
No branches or pull requests
Under zsh, you run the following code:
Under a login shell, the shell executable begins with a dash (eg. '-zsh'), so
basename
fails with:(
pipenv
usesclick_completion
internally.) To fix this, you can do:basename -- ${(%):-%x}
Adding
--
stops anything starting with-
from being parsed as an argument.The text was updated successfully, but these errors were encountered: