๐Ÿ“ฆ gentritbiba / history-context

๐Ÿ“„ hooks.json ยท 17 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17{
  "hooks": {
    "SessionStart": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "cp -n ${CLAUDE_PLUGIN_ROOT}/cli/claude-history.py ~/.claude/commands/ 2>/dev/null && chmod +x ~/.claude/commands/claude-history.py 2>/dev/null && ~/.claude/commands/claude-history.py index 2>/dev/null; true",
            "async": true
          }
        ]
      }
    ]
  }
}