Check Claude Code's settings.json changes for a credential before committing them, and give Install the checkout commands
This commit is contained in:
@@ -20,7 +20,17 @@ Me, on my own machines, which take tagged releases. Nobody else depends on it.
|
||||
|
||||
## Install
|
||||
|
||||
Check out the latest tag in `~/.claude`, with Python 3.11 or newer as `python3` on `PATH`, and for Rust projects `rust-analyzer` on `PATH`, which the `rust-analyzer-lsp` plugin needs. Install every plugin `settings.json` enables:
|
||||
Check out the latest tag in `~/.claude`, which Claude Code creates on its first run, so `git clone` refuses it:
|
||||
|
||||
```sh
|
||||
cd ~/.claude
|
||||
git init
|
||||
git remote add origin ssh://git@gitea.larvit.se:21022/lilleman/claude-config.git
|
||||
git fetch --tags origin
|
||||
git checkout -f "$(git tag --sort=-v:refname | head -n 1)"
|
||||
```
|
||||
|
||||
`-f` overwrites the `settings.json` Claude Code wrote. Have Python 3.11 or newer as `python3` on `PATH`, and for Rust projects `rust-analyzer` on `PATH`, which the `rust-analyzer-lsp` plugin needs. Install every plugin `settings.json` enables:
|
||||
|
||||
```sh
|
||||
claude plugin marketplace add anthropics/claude-plugins-official
|
||||
|
||||
Reference in New Issue
Block a user