{"id":22866853,"url":"https://github.com/insomnimus/wh","last_synced_at":"2025-03-31T10:32:15.397Z","repository":{"id":136923530,"uuid":"364321364","full_name":"insomnimus/wh","owner":"insomnimus","description":"A 'which' tool replacement written in rust.","archived":false,"fork":false,"pushed_at":"2024-04-20T15:37:14.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T14:58:10.863Z","etag":null,"topics":["cli","coreutils","rust","which"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/insomnimus.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2021-05-04T16:36:18.000Z","updated_at":"2024-04-20T15:34:47.000Z","dependencies_parsed_at":"2023-11-23T13:42:51.715Z","dependency_job_id":"f39f5577-f8f4-49a6-abc9-289ca26269e0","html_url":"https://github.com/insomnimus/wh","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insomnimus%2Fwh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insomnimus%2Fwh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insomnimus%2Fwh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insomnimus%2Fwh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/insomnimus","download_url":"https://codeload.github.com/insomnimus/wh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246453464,"owners_count":20779952,"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":["cli","coreutils","rust","which"],"created_at":"2024-12-13T12:17:42.335Z","updated_at":"2025-03-31T10:32:15.378Z","avatar_url":"https://github.com/insomnimus.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wh\n\nA `which` replacement.\n\n## Features\n- On Windows: Check for missing extensions from the `PATHEXT` environment variable as well as `.exe`\n-\tLinux style globbing support.\n- On non-Windows: Read function and alias definitions from stdin just like GNU which.\n- On non-Windows: Mostly a superset of GNU which.\n\n## Installation\n### Installation On Windows Via [Scoop](https://github.com/ScoopInstaller/Scoop)\nThis way you can update wh with scoop.\n1. Add my [personal bucket](https://github.com/insomnimus/scoop-bucket) to Scoop.\\\n\t`scoop bucket add insomnia https://github.com/insomnimus/scoop-bucket`\n2. Update scoop.\\\n\t`scoop update`\n3. Install wh.\\\n\t`scoop install wh`\n\n### Other Methods\nDownload a binary for your platform from [the releases page](releases/)\n\nOr build it from source:\n\n```sh\ncargo install --locked --branch main --git https://github.com/insomnimus/wh\n```\n\n### Suggested Usage On Non-Windows Platforms\nYou might want to add a shell function in your profile so that `wh` can read your aliases and functions:\n```shell\nwh() {\n\t{\n\t\talias\n\t\tdeclare -f\n\t} | /usr/bin/wh --read-alias --read-functions \"$@\"\n}\n```\n\nDon't forget to change `/usr/bin/wh` with the full path of `wh` on your system.\n\n## Shell Completions\nCurrently there are hand-written tab completions for Powershell.\nYou can get it by running `wh --completions powershell`.\n\nRegister it by saving the output into a `.ps1` file and then running the script.\nIf you want to have it be loaded automatically, add it to your Powershell profile.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsomnimus%2Fwh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsomnimus%2Fwh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsomnimus%2Fwh/lists"}