{"id":13503240,"url":"https://github.com/sentriz/fish-pipenv","last_synced_at":"2025-06-16T03:35:07.368Z","repository":{"id":24462861,"uuid":"101591409","full_name":"sentriz/fish-pipenv","owner":"sentriz","description":"🐟🐍 a fish plugin that automatically activates the pipenv subshell","archived":false,"fork":false,"pushed_at":"2022-04-19T01:25:42.000Z","size":43,"stargazers_count":202,"open_issues_count":3,"forks_count":31,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-10T05:08:09.387Z","etag":null,"topics":["fish-shell","fisher","pipenv","python","virtualenv"],"latest_commit_sha":null,"homepage":"http://pipenv.org","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sentriz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-28T01:15:31.000Z","updated_at":"2024-12-04T12:28:28.000Z","dependencies_parsed_at":"2022-08-07T11:01:03.920Z","dependency_job_id":null,"html_url":"https://github.com/sentriz/fish-pipenv","commit_stats":null,"previous_names":["fisherman/pipenv"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentriz%2Ffish-pipenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentriz%2Ffish-pipenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentriz%2Ffish-pipenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentriz%2Ffish-pipenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sentriz","download_url":"https://codeload.github.com/sentriz/fish-pipenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161272,"owners_count":21057555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fish-shell","fisher","pipenv","python","virtualenv"],"created_at":"2024-07-31T22:02:43.152Z","updated_at":"2025-04-10T05:08:13.692Z","avatar_url":"https://github.com/sentriz.png","language":"Shell","funding_links":[],"categories":["pipenv","Shell"],"sub_categories":[],"readme":"![](https://i.imgur.com/BALScDM.png)\n\n\u003cp style=\"max-width: 75%;\"\u003ehooks into a change in \u003ccode\u003ePWD\u003c/code\u003e to automatically launch a \u003ca href=\"http://docs.pipenv.org/en/latest/\"\u003ePipenv\u003c/a\u003e shell for your Pipenv project\n\n\u003cp align=\"right\" style=\"margin-left: auto; max-width: 75%; font-size: 14px; color: #eee;\"\u003e\u003ci\u003enote:\u003c/i\u003e this project was previously maintained by \u003ca href=\"https://github.com/kennethreitz/\"\u003e@kennethreitz\u003c/a\u003e\u003c/p\u003e\n\n## Installation\n\n### With [Fisher](https://github.com/jorgebucaran/fisher)\n\n```console\nfisher install sentriz/fish-pipenv\n```\n\n### With [Fundle](https://github.com/danhper/fundle) \n\nAdd:\n\n```fish\nfundle plugin \"sentriz/fish-pipenv\"\n```\n\nto your `config.fish` (create one if it doesn't exist), reload your shell and run:\n\n```console\nfundle install\n```\n\n### With [Oh My Fish](https://github.com/oh-my-fish/oh-my-fish) \n\n\n```console\nomf install https://github.com/sentriz/fish-pipenv\n```\n\n## Configuration options\n\nSuitable for your `~/.config/fish/config.fish`\n\n```fish\n# set if your term supports `pipenv shell --fancy`\nset pipenv_fish_fancy yes\n```\n\n## Potential Issues\n\n### Mac OS\n\nAfter installing pipenv, running the `$ pipenv` command may yield the following error:  \n`Install http://docs.pipenv.org/en/latest/ to use this package.`\n\n### Reason for the error\n\nThe problem is that, the pipenv package rightly could not find the `pipenv` command. The situation with\nfish shell is that it executes scripts in the `/Users/user/.config/fish/config.d` folder before\nexecuting `config.fish` and the pipenv package creates a link in the config.d folder hence it is\nexecuted before config.fish.\n\nNow depending on how you installed pipenv or how soon your `$PATH` is loaded you could be faced with the\nabove error.\n\n### Solutions\n\n1. You could install pipenv with the command `$ pip3 install pipenv`. Pipenv will then be installed in\n   `/usr/local/bin`. On some systems the folder `/usr/local/bin` is added to $PATH by the system which\n   means that it will be available before fish goes fishing for scripts in `/Users/user/.config/fish/config.d`\n2. Or you could create a file say 000-env.fish (or whatever you want to call it), and place it in\n   `/Users/user/.config/fish/config.d`. In this file set the path to the folder where pipenv was installed.\n   E.g if pipenv was installed via pipsi, then the command will be something like\n   `set -x PATH /Users/user/.local/bin $PATH`\n\n   If pipenv was installed via `$ pip install pipenv`, then note that pip (python2) now puts its executables\n   in `/usr/local/opt/python/libexec/bin`.\n\n   The `000` preface is to ensure that, that script will be executed first before the others in config.d. You\n   don't have to prefix the file with `000` it is abitrary. Just give it a name that places it at the top of the\n   pile.\n\n3. Or assuming you also have [fish-pyenv](https://github.com/daenney/pyenv) you can add a universal variable to\n   your `fish_user_paths` following\n   [mhugbin](https://github.com/kennethreitz/fish-pipenv/issues/1#issuecomment-385206132):\n\n   ```fish\n   set -U fish_user_paths ~/.pyenv/shims $fish_user_paths\n   ```\n\nSee https://github.com/sentriz/fish-pipenv/issues/1\n\n## License\n\n[MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentriz%2Ffish-pipenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsentriz%2Ffish-pipenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentriz%2Ffish-pipenv/lists"}