claude: Add settings for Claude
This commit is contained in:
6
claude/.claude/settings.json
Normal file
6
claude/.claude/settings.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"statusLine": {
|
||||||
|
"type": "command",
|
||||||
|
"command": "input=$(cat); cwd=$(echo \"$input\" | jq -r '.workspace.current_dir'); model=$(echo \"$input\" | jq -r '.model.display_name'); ctx=$(echo \"$input\" | jq -r '.context_window.remaining_percentage'); time=$(date +%H:%M:%S); branch=$(git -C \"$cwd\" rev-parse --abbrev-ref HEAD 2>/dev/null || echo '-'); printf \"\\033[1;33m%s\\033[0m \\033[1;34m%s\\033[0m \\033[1;35m%s\\033[0m \\033[1;36m%s\\033[0m \\033[1;32m%s%%\\033[0m\" \"$time\" \"$cwd\" \"$branch\" \"$model\" \"$ctx\""
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user