config

#brew#nushell

git clone https://git.pyrossh.dev/config

Common configuration


6097c7dPeter John 2026-09-07T09:29:41+05:30
update
.gitignore CHANGED
@@ -9,3 +9,5 @@ github-copilot
9
9
  gh
10
10
  .copilot
11
11
  rclone
12
+ .wrangler
13
+ helix
homebrew/trust.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "trustedtaps": [
3
+ "docker/tap"
4
+ ],
5
+ "trustedcasks": [
6
+ "docker/tap/sbx"
7
+ ],
8
+ "trustedformulae": [
9
+ "oleksandrchekhovskyi/hax/hax"
10
+ ]
11
+ }
homebrew/trust.json.lock ADDED
File without changes
nushell/config.nu CHANGED
@@ -902,9 +902,13 @@ def repo-push [] {
902
902
  git repack -a -d -f --depth=250 --window=250
903
903
  git update-server-info
904
904
  let repo_name = (basename (pwd))
905
- rclone sync -P --http-headers '"Content-Type","application/octet-stream"' .git $"git:git/($repo_name)" --checksum --fast-list
905
+ rclone sync --http-headers '"Content-Type","application/octet-stream"' .git $"git:git/($repo_name)" --checksum --fast-list --multi-thread-streams=32 -P
906
906
  }
907
907
 
908
+ def backup-git [] {
909
+ rclone sync git:git `/Volumes/SSD T7/git` --checksum --fast-list --multi-thread-streams=32 -P
910
+ }
911
+
908
- def backup-all-repos [] {
912
+ def backup-website [] {
909
- rclone sync pyrossh-repos-prd:pyrossh-repos-prd `/Volumes/SSD T7/Repos`
913
+ rclone sync website:website `/Volumes/SSD T7/website` --checksum --fast-list --multi-thread-streams=32 -P
910
914
  }
opencode/AGENTS.md ADDED
@@ -0,0 +1,10 @@
1
+ <!-- CODEGRAPH_START -->
2
+ ## CodeGraph
3
+
4
+ In repositories indexed by CodeGraph (a `.codegraph/` directory exists at the repo root), reach for it BEFORE grep/find or reading files when you need to understand or locate code:
5
+
6
+ - **MCP tool** (when available): `codegraph_explore` answers most code questions in one call — the relevant symbols' verbatim source plus the call paths between them, including dynamic-dispatch hops grep can't follow. Name a file or symbol in the query to read its current line-numbered source. If it's listed but deferred, load it by name via tool search.
7
+ - **Shell** (always works): `codegraph explore "<symbol names or question>"` prints the same output.
8
+
9
+ If there is no `.codegraph/` directory, skip CodeGraph entirely — indexing is the user's decision.
10
+ <!-- CODEGRAPH_END -->
opencode/opencode.jsonc CHANGED
@@ -1,4 +1,15 @@
1
1
  {
2
2
  "$schema": "https://opencode.ai/config.json",
3
- "lsp": true
3
+ "lsp": true,
4
+ "mcp": {
5
+ "codegraph": {
6
+ "type": "local",
7
+ "command": [
8
+ "codegraph",
9
+ "serve",
10
+ "--mcp"
11
+ ],
12
+ "enabled": true
13
+ }
14
+ }
4
15
  }
setup.sh CHANGED
@@ -6,7 +6,7 @@ mas install 497799835 # installs xcode
6
6
  echo /opt/homebrew/bin/nu | sudo tee -a /etc/shells
7
7
  chsh -s /opt/homebrew/bin/nu
8
8
  launchctl setenv PATH /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/homebrew/bin
9
- launchctl setenv XDG_CONFIG_HOME /Users/pyrossh/Code/pyrossh/config
9
+ launchctl setenv XDG_CONFIG_HOME /Users/pyrossh/Code/config
10
10
  launchctl setenv ANDROID_HOME ~/Library/Android/sdk
11
11
  launchctl setenv EDITOR hx
12
12
  git config --global --add --bool push.autoSetupRemote true
tool_state CHANGED
@@ -1,4 +1,6 @@
1
1
  {
2
2
  "is-bot": false,
3
- "last-active-master-version": "e871bd771cfa2e948239792017793b86dfeee9db"
3
+ "last-active-master-version": "e871bd771cfa2e948239792017793b86dfeee9db",
4
+ "last-active-stable-version": "ee80f08bbf97172ec030b8751ceab557177a34a6",
5
+ "redisplay-welcome-message": true
4
6
  }