{"id":16774712,"url":"https://github.com/leonjza/history-here","last_synced_at":"2025-07-19T22:04:48.618Z","repository":{"id":145680269,"uuid":"217338101","full_name":"leonjza/history-here","owner":"leonjza","description":"A zsh plugin to quickly isolate shell history recording.","archived":false,"fork":false,"pushed_at":"2023-11-08T07:22:15.000Z","size":10,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T20:25:25.290Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/leonjza.png","metadata":{"files":{"readme":"README.md","changelog":"history-here.plugin.zsh","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}},"created_at":"2019-10-24T15:56:56.000Z","updated_at":"2023-03-08T07:53:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"d01e436b-804e-488f-ac5a-f318c0b5ea6d","html_url":"https://github.com/leonjza/history-here","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leonjza/history-here","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonjza%2Fhistory-here","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonjza%2Fhistory-here/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonjza%2Fhistory-here/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonjza%2Fhistory-here/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leonjza","download_url":"https://codeload.github.com/leonjza/history-here/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonjza%2Fhistory-here/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266026196,"owners_count":23866031,"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":[],"created_at":"2024-10-13T06:49:55.197Z","updated_at":"2025-07-19T22:04:48.551Z","avatar_url":"https://github.com/leonjza.png","language":"Shell","funding_links":[],"categories":["Plugins"],"sub_categories":["ZSH on Windows","Zinit (née zplugin)"],"readme":"# history-here\n\nAn oh-my-zsh plugin that bind's `^G` to quickly toggle the current shell history file location. To use it, add `history-here` to the plugins array in your zshrc file.\n\n```zsh\nplugins=(... history-here)\n```\n\nAlternatively, source the `history-here.plugin.zsh` file (after cloning) with:\n\n```zsh\nsource ~/.oh-my-zsh/custom/plugins/history-here/history-here.plugin.zsh\n```\n\nThe plugin source code needs to be in `~/.oh-my-zsh/custom/plugins` (either cloned there or symlinked).\n\n## configuration\n\nYou can configure automatic isolation of shell history by setting the `HISTORY_HERE_AUTO_DIRS` array. If the current working directory changes to any of the paths in this array (which is lazily matched), history isolation would automatically occur.\n\n```zsh\nexport HISTORY_HERE_AUTO_DIRS=(/Users/foo/work /root/work)\n```\n\nNote, if you set a small value of something like `pa`, changing to any directory containing `pa` in the path would trigger history isolation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonjza%2Fhistory-here","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleonjza%2Fhistory-here","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonjza%2Fhistory-here/lists"}