{"id":15652984,"url":"https://github.com/van51/subtree_history","last_synced_at":"2026-05-05T05:34:39.329Z","repository":{"id":84284826,"uuid":"83593121","full_name":"van51/subtree_history","owner":"van51","description":"Optional subtree history for bash","archived":false,"fork":false,"pushed_at":"2018-09-03T10:26:24.000Z","size":2,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T03:22:14.371Z","etag":null,"topics":["bash","directory","history","optional","script","subtree"],"latest_commit_sha":null,"homepage":null,"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/van51.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":"2017-03-01T19:33:18.000Z","updated_at":"2017-03-02T15:21:50.000Z","dependencies_parsed_at":"2023-03-12T22:16:58.235Z","dependency_job_id":null,"html_url":"https://github.com/van51/subtree_history","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/van51%2Fsubtree_history","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/van51%2Fsubtree_history/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/van51%2Fsubtree_history/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/van51%2Fsubtree_history/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/van51","download_url":"https://codeload.github.com/van51/subtree_history/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246263821,"owners_count":20749355,"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":["bash","directory","history","optional","script","subtree"],"created_at":"2024-10-03T12:44:25.354Z","updated_at":"2026-05-05T05:34:34.288Z","avatar_url":"https://github.com/van51.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Optional Subtree History\n\nAs the name says this repository offers the flexibility to optionally save a different bash history per subtree in the directory structure.\nIn other words you can have a different bash history for different projects.\n\nInspired by https://gist.github.com/leipzig/1651133\n\n*rfind* function is based on the following answer http://unix.stackexchange.com/a/35265/105444\n\n# Installation\n\nIn order to install this git do the following:\n\n```bash\n$ git clone https://github.com/van51/subtree_history.git\n$ cd subtree_history\n$ chmod +x ./install.sh\n$ ./install.sh\n```\n\n# Usage\n\nIn order to initialize a \"local\" history in a subtree starting at the directory *foo*, you can do one of the following:\n\n```bash\n$ local_dir_history /path/to/foo\n```\nor\n```bash\n$ cd /path/to/foo\n$ local_dir_history\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvan51%2Fsubtree_history","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvan51%2Fsubtree_history","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvan51%2Fsubtree_history/lists"}