terminal-theme
配置和管理终端多彩主题轮换系统 — 添加/修改/删除主题、调整颜色和背景混合比例、排查显示问题。当用户提到终端主题、终端颜色、终端配色、prompt颜色、tab颜色时触发。
Install this skill
Security score
The terminal-theme skill was audited on May 31, 2026 and we found 18 security issues across 4 threat categories, including 1 critical. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 94 | ```bash |
Piping content to sh shell
| 199 | | 主题标签不显示 | `which starship` 确认是否安装 | 运行 `curl -sS https://starship.rs/install.sh \| sh` 或 `brew install starship` | |
Curl to non-GitHub URL
| 199 | | 主题标签不显示 | `which starship` 确认是否安装 | 运行 `curl -sS https://starship.rs/install.sh \| sh` 或 `brew install starship` | |
Access to hidden dotfiles in home directory
| 74 | #### Step 3: 编辑 ~/.zshrc |
Access to hidden dotfiles in home directory
| 95 | zsh -c 'source ~/.zshrc 2>/dev/null; echo "FG=${#_PROMPT_FG[@]} BG=${#_PROMPT_BG[@]} TEXT=${#_PROMPT_TEXT[@]} ICON=${#_PROMPT_ICON[@]} NAME=${#_PROMPT_NAME[@]}"' |
Access to hidden dotfiles in home directory
| 115 | #### Step 2: 编辑 ~/.zshrc |
Access to hidden dotfiles in home directory
| 137 | #### Step 2: 编辑 ~/.zshrc |
Access to hidden dotfiles in home directory
| 171 | #### Step 2: 编辑 ~/.zshrc |
Access to hidden dotfiles in home directory
| 202 | | `source ~/.zshrc` 报错 | 检查数组语法(引号、空格) | 用 `zsh -n ~/.zshrc` 语法检查 | |
Access to hidden dotfiles in home directory
| 242 | ~/.zshrc 底部配置 |
Access to hidden dotfiles in home directory
| 256 | 在读取或编辑用户的 `~/.zshrc` 前,必须扫描是否存在明文密钥/凭证: |
Access to hidden dotfiles in home directory
| 259 | grep -niE '(KEY|SECRET|TOKEN|PASSWORD|CREDENTIAL|API_KEY)=' ~/.zshrc | grep -v '^#' |
Access to hidden dotfiles in home directory
| 264 | 2. **建议迁移**:将密钥移到独立文件(如 `~/.env.secrets`),zshrc 中改为 `source ~/.env.secrets` |
Access to hidden dotfiles in home directory
| 265 | 3. **设置权限**:`chmod 600 ~/.env.secrets` |
Access to hidden dotfiles in home directory
| 276 | | zsh-syntax-highlighting | 命令语法高亮(可选) | 自动搜索 `~/.zsh-plugins/`、`~/zsh-plugins/`、oh-my-zsh、homebrew | |
Access to .env file
| 264 | 2. **建议迁移**:将密钥移到独立文件(如 `~/.env.secrets`),zshrc 中改为 `source ~/.env.secrets` |
Access to .env file
| 265 | 3. **设置权限**:`chmod 600 ~/.env.secrets` |
External URL reference
| 199 | | 主题标签不显示 | `which starship` 确认是否安装 | 运行 `curl -sS https://starship.rs/install.sh \| sh` 或 `brew install starship` | |