{"id":16510736,"url":"https://github.com/witchard/doppelganger","last_synced_at":"2025-10-28T03:31:53.411Z","repository":{"id":48601261,"uuid":"386953525","full_name":"witchard/doppelganger","owner":"witchard","description":"Save and load your shell environment to create doppelganger shells!","archived":false,"fork":false,"pushed_at":"2021-07-18T21:12:42.000Z","size":118,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-01T11:11:06.530Z","etag":null,"topics":[],"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/witchard.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}},"created_at":"2021-07-17T14:04:08.000Z","updated_at":"2024-06-23T15:14:53.000Z","dependencies_parsed_at":"2022-09-05T22:52:02.221Z","dependency_job_id":null,"html_url":"https://github.com/witchard/doppelganger","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/witchard%2Fdoppelganger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/witchard%2Fdoppelganger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/witchard%2Fdoppelganger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/witchard%2Fdoppelganger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/witchard","download_url":"https://codeload.github.com/witchard/doppelganger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238590596,"owners_count":19497350,"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-11T15:56:42.402Z","updated_at":"2025-10-28T03:31:53.003Z","avatar_url":"https://github.com/witchard.png","language":"Shell","funding_links":[],"categories":["\u003ca name=\"file-handling\"\u003e\u003c/a\u003eFile and file system handling"],"sub_categories":[],"readme":"# doppelganger\n\n[![Test](https://github.com/witchard/doppelganger/actions/workflows/test.yml/badge.svg)](https://github.com/witchard/doppelganger/actions/workflows/test.yml)\n\nSave and load your shell environment to create doppelganger shells!\n\nEver been in one shell, in a specific folder, with some environment active, and then wanted to be in the same place in another? Then doppelganger is for you! The `dgs` command will save the current shell setup (functions, local variables and environment variables), and then `dgl` can be used to load them into a different shell. Your original shell can also still be active.\n\n![Demo](demo.gif)\n\nPlease note, this is early software and has had minimal testing with zsh and bash on a mac. Issues and pull requests welcome!\n\n## Installation\n\nSimply `git clone` this repository somewhere, let's say you put it in `$HOME/doppelganger`. Then simply add `source $HOME/doppelganger/doppelganger.sh` to your `.bashrc` or `.zshrc` file.\n\n## Usage\n\nThe following commands will be available when doppelganger is installed:\n\n* `dgs` - Save current shell environment\n* `dgl` - Load last saved shell environment\n* `dgc` - Cleanup last saved environment\n* `dgu` - Update to latest version\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwitchard%2Fdoppelganger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwitchard%2Fdoppelganger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwitchard%2Fdoppelganger/lists"}