{"id":33014910,"url":"https://github.com/lyytaw/taw-ys.zsh-theme","last_synced_at":"2025-11-25T23:30:17.366Z","repository":{"id":144127467,"uuid":"170631685","full_name":"lyytaw/taw-ys.zsh-theme","owner":"lyytaw","description":"基于ys的定制化oh-my-zsh主题，支持python的prompt显示","archived":false,"fork":false,"pushed_at":"2021-05-23T15:49:04.000Z","size":17,"stargazers_count":35,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-21T13:55:38.038Z","etag":null,"topics":["zsh-theme"],"latest_commit_sha":null,"homepage":"","language":null,"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/lyytaw.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}},"created_at":"2019-02-14T05:17:21.000Z","updated_at":"2024-05-07T16:35:33.000Z","dependencies_parsed_at":"2023-08-09T03:19:11.665Z","dependency_job_id":null,"html_url":"https://github.com/lyytaw/taw-ys.zsh-theme","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/lyytaw/taw-ys.zsh-theme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyytaw%2Ftaw-ys.zsh-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyytaw%2Ftaw-ys.zsh-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyytaw%2Ftaw-ys.zsh-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyytaw%2Ftaw-ys.zsh-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lyytaw","download_url":"https://codeload.github.com/lyytaw/taw-ys.zsh-theme/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyytaw%2Ftaw-ys.zsh-theme/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"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-11-25T02:00:05.816Z","response_time":54,"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":["zsh-theme"],"created_at":"2025-11-13T18:00:20.538Z","updated_at":"2025-11-25T23:30:17.360Z","avatar_url":"https://github.com/lyytaw.png","language":null,"funding_links":[],"categories":["Themes"],"sub_categories":["ZSH on Windows","Zinit (née zplugin)"],"readme":"# taw-ys.zsh-theme\ntaw-ys为一个[oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)主题，在[主题ys](https://github.com/robbyrussell/oh-my-zsh/blob/master/themes/ys.zsh-theme)基础上修改而成。主要是做针对python环境的prompt显示。\n\n目前将主题分为了virtualenv和conda两种，请自行选用自己需要的。如只使用原生python，选用任一种均可。\n\n## 效果预览\n\n#### 未激活虚拟环境环境\n\n![image-20200312135927048](https://img.cayun.me/2020-03-12-061056.png)\n\n#### virtualenv\n\n![image-20200312140133061](https://img.cayun.me/2020-03-12-060133.png)\n\n#### conda\n\n![image-20200312140240909](https://img.cayun.me/2020-03-12-060241.png)\n\n\n## 使用方式\n\n#### virtualenv\n\n1. 将taw-ys-virtualenv.zsh-theme文件拷贝到~/.oh-my-zsh/themes下\n2. 修改~/.zshrc中的theme配置为taw-ys-virtualenv\n3. 在~/.zshrc中添加`export VIRTUAL_ENV_DISABLE_PROMPT=true`\n\n#### conda\n\n1. 将taw-ys-conda.zsh-theme文件拷贝到~/.oh-my-zsh/themes下\n2. 修改~/.zshrc中的theme配置为taw-ys-conda\n3. 在~/.condarc中添加`changeps1: False`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyytaw%2Ftaw-ys.zsh-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flyytaw%2Ftaw-ys.zsh-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyytaw%2Ftaw-ys.zsh-theme/lists"}