配置: 添加 Claude Code 自定义状态栏
- 新增 status_line.sh 脚本,自定义状态栏显示格式 - 配置 CLAUDE_CODE_NO_FLICKER 禁止状态栏闪烁 - 状态栏显示:版本、模型、上下文使用百分比
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"env": {
|
||||
"CLAUDE_CODE_AUTO_COMPACT_WINDOW": "200000",
|
||||
"CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "75"
|
||||
"CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "75",
|
||||
"CLAUDE_CODE_NO_FLICKER": "1"
|
||||
},
|
||||
"hooks": {
|
||||
"UserPromptSubmit": [
|
||||
@@ -14,5 +15,9 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"statusLine": {
|
||||
"type": "command",
|
||||
"command": "/data/git/gitea/szis/isos/tech/.claude/tools/status_line.sh"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user