{"id":17258624,"url":"https://github.com/xiaq/elvish-osc7","last_synced_at":"2026-03-19T00:21:22.528Z","repository":{"id":222394775,"uuid":"757161476","full_name":"xiaq/elvish-osc7","owner":"xiaq","description":"Elvish package for advising the terminal of the current directory","archived":false,"fork":false,"pushed_at":"2024-02-13T23:25:51.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-03T23:08:42.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elvish","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xiaq.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}},"created_at":"2024-02-13T23:16:24.000Z","updated_at":"2024-02-13T23:54:31.000Z","dependencies_parsed_at":"2024-02-17T23:15:17.533Z","dependency_job_id":null,"html_url":"https://github.com/xiaq/elvish-osc7","commit_stats":null,"previous_names":["xiaq/elvish-osc7"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xiaq/elvish-osc7","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Felvish-osc7","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Felvish-osc7/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Felvish-osc7/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Felvish-osc7/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaq","download_url":"https://codeload.github.com/xiaq/elvish-osc7/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Felvish-osc7/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018015,"owners_count":26086237,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-15T07:21:21.116Z","updated_at":"2025-10-14T05:21:13.334Z","avatar_url":"https://github.com/xiaq.png","language":"Elvish","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elvish-osc7\n\n## Why\n\nWhen using Elvish in some terminals, the terminal may not be aware of Elvish's\nworking directory. As a result, if you open a new tab in the terminal, it won't\ninherit the working directory of the existing Elvish session.\n\nThe terminal may support a special escape sequence called [OSC\n7](https://wezfurlong.org/wezterm/shell-integration.html#osc-7-escape-sequence-to-set-the-working-directory).\nWhen a program in the terminal prints this escape sequence, the terminal will\nknow what the working directory is. But this requires the program to proactively\ninform the terminal whenever the working directory changes.\n\n## How to use\n\nRun this once to install this module:\n\n```elvish\nuse epm\nepm:install github.com/xiaq/elvish-osc7\n```\n\nAdd this to `rc.elv`:\n\n```elvish\nuse github.com/xiaq/elvish-osc7/osc7\nosc7:init-hook\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaq%2Felvish-osc7","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaq%2Felvish-osc7","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaq%2Felvish-osc7/lists"}