config

#brew#nushell

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

Common configuration


ca8ce96 — Peter John 2026-10-31T15:20:12+05:30
improve setup
helix/config.toml CHANGED
@@ -17,3 +17,6 @@ separator = "│"
17
17
  mode.normal = "NORMAL"
18
18
  mode.insert = "INSERT"
19
19
  mode.select = "SELECT"
20
+
21
+ [keys.normal."space"]
22
+ m = [':insert-output leaf "$(echo %{buffer_name} | sed "s|^~|$HOME|")" >/dev/tty', ":redraw"]
helix/languages.toml CHANGED
@@ -5,7 +5,13 @@ injection-regex = "plum"
5
5
  file-types = ["plum"]
6
6
  comment-tokens = "#"
7
7
  indent = { tab-width = 2, unit = " " }
8
+ language-servers = ["plum-lsp"]
8
9
 
9
10
  [[grammar]]
10
11
  name = "plum"
11
- source = { path = "/Users/pyrossh/Code/plum/tooling/tree-sitter-plum" }
12
+ source = { path = "/Users/pyrossh/Code/plum/plum-tooling/tree-sitter-plum" }
13
+
14
+ [language-server]
15
+
16
+ [language-server.plum-lsp]
17
+ command = "/Users/pyrossh/Code/config/helix/plum-lsp"
homebrew/trust.json CHANGED
@@ -3,7 +3,8 @@
3
3
  "docker/tap"
4
4
  ],
5
5
  "trustedcasks": [
6
- "docker/tap/sbx"
6
+ "docker/tap/sbx",
7
+ "driceroland/tap/search"
7
8
  ],
8
9
  "trustedformulae": [
9
10
  "oleksandrchekhovskyi/hax/hax"
opencode/AGENTS.md DELETED
@@ -1,10 +0,0 @@
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.json DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "$schema": "https://opencode.ai/config.json",
3
- "plugin": ["superpowers@git+https://github.com/obra/superpowers.git"]
4
- }
opencode/opencode.jsonc DELETED
@@ -1,15 +0,0 @@
1
- {
2
- "$schema": "https://opencode.ai/config.json",
3
- "lsp": true,
4
- "mcp": {
5
- "codegraph": {
6
- "type": "local",
7
- "command": [
8
- "codegraph",
9
- "serve",
10
- "--mcp"
11
- ],
12
- "enabled": true
13
- }
14
- }
15
- }
setup.sh CHANGED
@@ -1,10 +1,5 @@
1
- brew install tig nu helix zellij openjdk gradle mas rclone jandedobbeleer/oh-my-posh/oh-my-posh
1
+ brew install tig helix zellij openjdk gradle mas rclone antigen jandedobbeleer/oh-my-posh/oh-my-posh eza zsh-history-substring-search leaf-markdown-viewer
2
-
3
- brew --cask install ghostty google-chrome obsidian secretive mpv stats pika font-ubuntu-mono
2
+ brew --cask install ghostty google-chrome obsidian mpv stats font-ubuntu-mono
4
-
5
- mas install 497799835 # installs xcode
6
- echo /opt/homebrew/bin/nu | sudo tee -a /etc/shells
7
- chsh -s /opt/homebrew/bin/nu
8
3
  launchctl setenv PATH /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/homebrew/bin
9
4
  launchctl setenv XDG_CONFIG_HOME /Users/pyrossh/Code/config
10
5
  launchctl setenv ANDROID_HOME ~/Library/Android/sdk
tool_state CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "is-bot": false,
3
3
  "last-active-master-version": "e871bd771cfa2e948239792017793b86dfeee9db",
4
- "last-active-stable-version": "ee80f08bbf97172ec030b8751ceab557177a34a6",
4
+ "last-active-stable-version": "058e0af2c2b57e369d905a03ac9748b0ebf543c6",
5
5
  "redisplay-welcome-message": true
6
6
  }