{"id":48476254,"url":"https://github.com/jgusta/paths","last_synced_at":"2026-04-07T07:50:54.603Z","repository":{"id":230310103,"uuid":"779071152","full_name":"jgusta/paths","owner":"jgusta","description":"Program file locator plugin for Fish","archived":false,"fork":false,"pushed_at":"2025-08-26T02:24:20.000Z","size":21,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-26T04:25:16.846Z","etag":null,"topics":["fish","fish-plugin","fisher","path"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jgusta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-03-29T01:21:11.000Z","updated_at":"2025-08-26T02:24:23.000Z","dependencies_parsed_at":"2024-06-28T03:33:14.489Z","dependency_job_id":"fe46efde-ec47-4da3-84e3-8c4106517862","html_url":"https://github.com/jgusta/paths","commit_stats":null,"previous_names":["jgusta/paths"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/jgusta/paths","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgusta%2Fpaths","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgusta%2Fpaths/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgusta%2Fpaths/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgusta%2Fpaths/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgusta","download_url":"https://codeload.github.com/jgusta/paths/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgusta%2Fpaths/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31504897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","fish-plugin","fisher","path"],"created_at":"2026-04-07T07:50:54.019Z","updated_at":"2026-04-07T07:50:54.591Z","avatar_url":"https://github.com/jgusta.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jgusta/paths\n\n\u003e Program file locator plugin for Fish\n\n`paths` is a plugin for [fish](https://fishshell.com), the friendly interactive shell.\n\nUse it to locate a program file or executable fish script in the user's path environment variables. Contrast to `which` which does not identify fish function or autoloaded scripts. \n\n## Installation\n\nFish plugins are installed with several plugin managers. The best one is [Fisher](https://github.com/jorgebucaran/fisher).\n\nTo install with [Fisher](https://github.com/jorgebucaran/fisher):\n\n```shell\nfisher install jgusta/paths\n```\n\n## Usage\n\npaths.fish identifies the executed file for the given symbol. It will also output other path components, in each of the possible system paths, in order of succession. It lists the source of the path components as a header.\n\n```shell\n$ paths brew\nfish_function_path\n -  /Users/me/.config/fish/fisher_root/functions/brew.fish \n\nPATH\n -  /usr/local/bin/brew  /usr/local/Homebrew/bin/brew \n\n```\n\nPossible values for the source headers are `Defined interactively`, `Defined via source`, `VIRTUAL_ENV`, `fisher_path`, `fish_function_path`, `fish_user_paths`, `PATH`, `Built-in command`. It even understands python virtual environments:\n\n```shell\n$ paths python\nVIRTUAL_ENV\n -  /Users/me/code/venv/myprog-QKlu_Gbg/bin/python  /usr/local/Cellar/python@3.9/3.9.19/Frameworks/Python.framework/Versions/3.9/bin/python3.9 \n\nPATH\n -  /usr/local/bin/python  /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 \n\n```\n\nUse `-c` to skip the headers and colors and list markers:\n\n```shell\n$ paths -c python\n/Users/me/code/venv/reoner-QKlu_Gbg/bin/python\n/usr/local/bin/python\n\n```\n\nUse `-s` to output the very first result in plaintext:\n\n```shell\n$ paths -s python\n/Users/me/code/venv/reoner-QKlu_Gbg/bin/python\n```\n\n`-s` can be used like the bash command \"which\"\n\n```shell\n$ eval (paths -s python) -m http.server\nServing HTTP on :: port 8000 (http://[::]:8000/) ...\n```\n\nbut remember, autoloaded fish scripts are generally not executable:\n\n```shell\neval (paths -s ls)\nfish: Unknown command. '/usr/local/Cellar/fish/3.7.1/share/fish/functions/ls.fish' exists but is not an executable file.\n/usr/local/Cellar/fish/3.7.1/share/fish/functions/ls.fish\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgusta%2Fpaths","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgusta%2Fpaths","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgusta%2Fpaths/lists"}