{"id":20469616,"url":"https://github.com/hypnotics-dev/zsh-frequency","last_synced_at":"2025-03-05T13:22:19.773Z","repository":{"id":259330652,"uuid":"831569949","full_name":"hypnotics-dev/zsh-frequency","owner":"hypnotics-dev","description":"Analyse the frequency of a command used while in ZSH","archived":false,"fork":false,"pushed_at":"2024-12-25T05:51:31.000Z","size":31,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T01:54:06.920Z","etag":null,"topics":["cli","terminal","zsh"],"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/hypnotics-dev.png","metadata":{"files":{"readme":"README.org","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":"2024-07-21T00:37:23.000Z","updated_at":"2024-12-25T05:51:34.000Z","dependencies_parsed_at":"2024-12-13T20:31:45.039Z","dependency_job_id":null,"html_url":"https://github.com/hypnotics-dev/zsh-frequency","commit_stats":null,"previous_names":["hypnotics-dev/zsh-frequency"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypnotics-dev%2Fzsh-frequency","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypnotics-dev%2Fzsh-frequency/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypnotics-dev%2Fzsh-frequency/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypnotics-dev%2Fzsh-frequency/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hypnotics-dev","download_url":"https://codeload.github.com/hypnotics-dev/zsh-frequency/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242031790,"owners_count":20060637,"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","terminal","zsh"],"created_at":"2024-11-15T14:09:43.814Z","updated_at":"2025-03-05T13:22:19.754Z","avatar_url":"https://github.com/hypnotics-dev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"* zsh-frequency\n\nA command line tool to determine the frequency of a command or a variable inside of zsh_histfile.\n\n** Installation\n\n*** Compile from source\n\nTo compile from source on linux, you should run this command\n\n#+begin_src sh\n  cargo install --git https://github.com/hypnotics-dev/zsh-frequency.git \n#+end_src\n\n** Utilisation\nCurrently zsh-frequency only supports 2 commands, top and bot.\n\n*** Top\nReturns the top N results, if 2 commands have the same frequency, then the order they are displayed is randomised.\n\n#+begin_src sh\n  zsh-frequency --file tests/zshhist top 5\n#+end_src\n\nThe example above returns the top 5 results from the test file zshhist, you can find said file in the tests directory in the repository. If you ran the command, then the output should be, with the order of nv and playerctl being randomised.\n#+begin_example\ncd:27\nll:24\npactl:17\nnv:8\nplayerctl:8\n#+end_example\n\n*** Bot\nReturns the bottom N results, if 2 commands have the same frequency, then the order they are displayed is randomised.\n\n#+begin_src sh\n  zsh-frequency --file tests/zshhist bot 5\n#+end_src\n\nThe example above returns the bottom 5 results from the test file zshhist, you can find said file in the tests directory in the repository. If you ran the command, then the output would resemble something like this, since there are 9 commands that only appear once, you may only one of these commands in your output. If this is the case, don't worry, this is normal.\n\n#+begin_example\ngit:1\ncargo:1\nzrel:1\neval:1\npacman:1\n#+end_example\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypnotics-dev%2Fzsh-frequency","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypnotics-dev%2Fzsh-frequency","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypnotics-dev%2Fzsh-frequency/lists"}