config

#brew#nushell

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

Common configuration


46c8ff3Peter John 2026-07-18T12:06:06+05:30
fixes
git/ignore ADDED
@@ -0,0 +1 @@
1
+ **/.claude/settings.local.json
helix/grammars/hica.tmLanguage.json ADDED
@@ -0,0 +1,107 @@
1
+ {
2
+ "name": "Hica",
3
+ "scopeName": "source.hica",
4
+ "fileTypes": ["hc"],
5
+ "patterns": [
6
+ { "include": "#comments" },
7
+ { "include": "#strings" },
8
+ { "include": "#chars" },
9
+ { "include": "#numbers" },
10
+ { "include": "#keywords" },
11
+ { "include": "#functions" },
12
+ { "include": "#types" },
13
+ { "include": "#operators" },
14
+ { "include": "#identifiers" }
15
+ ],
16
+ "repository": {
17
+ "comments": {
18
+ "name": "comment.line.double-slash.hica",
19
+ "match": "//.*$"
20
+ },
21
+ "strings": {
22
+ "name": "string.quoted.double.hica",
23
+ "begin": "\"",
24
+ "end": "\"",
25
+ "patterns": [
26
+ {
27
+ "name": "constant.character.escape.hica",
28
+ "match": "\\\\[ntr\\\\\"'{}$]"
29
+ },
30
+ {
31
+ "name": "string.interpolation.hica",
32
+ "begin": "\\$\\{",
33
+ "beginCaptures": {
34
+ "0": { "name": "punctuation.definition.interpolation.begin.hica" }
35
+ },
36
+ "end": "\\}",
37
+ "endCaptures": {
38
+ "0": { "name": "punctuation.definition.interpolation.end.hica" }
39
+ },
40
+ "patterns": [
41
+ { "include": "#strings" },
42
+ { "include": "#keywords" },
43
+ { "include": "#types" },
44
+ { "include": "#numbers" },
45
+ { "include": "#operators" },
46
+ { "include": "#identifiers" }
47
+ ]
48
+ }
49
+ ]
50
+ },
51
+ "chars": {
52
+ "name": "string.quoted.single.hica",
53
+ "match": "'[^']'"
54
+ },
55
+ "numbers": {
56
+ "patterns": [
57
+ { "name": "constant.numeric.float.hica", "match": "\\b[0-9]+\\.[0-9]+\\b" },
58
+ { "name": "constant.numeric.integer.hex.hica", "match": "\\b0x[0-9a-fA-F]+\\b" },
59
+ { "name": "constant.numeric.integer.binary.hica", "match": "\\b0b[01]+\\b" },
60
+ { "name": "constant.numeric.integer.hica", "match": "\\b[0-9]+\\b" }
61
+ ]
62
+ },
63
+ "keywords": {
64
+ "patterns": [
65
+ { "name": "keyword.control.hica", "match": "\\b(if|else|match|while|loop|for|in|break|continue|return)\\b" },
66
+ { "name": "keyword.declaration.hica", "match": "\\b(let|var|fun|struct|trait|class|primitive|lib|import|from|pub|extern|out)\\b" },
67
+ { "name": "keyword.declaration.hica", "match": "\\bself\\b" },
68
+ { "name": "constant.language.hica", "match": "\\b(true|false|None|Some|Ok|Err)\\b" }
69
+ ]
70
+ },
71
+ "functions": {
72
+ "patterns": [
73
+ {
74
+ "name": "entity.name.function.hica",
75
+ "comment": "Function name in definition: fun name(",
76
+ "match": "(?<=\\bfun\\s+)[a-z_][a-zA-Z0-9_]*(?=\\s*\\(|\\s*<)"
77
+ },
78
+ {
79
+ "name": "entity.name.function.hica",
80
+ "comment": "Function call: name(",
81
+ "match": "\\b[a-z_][a-zA-Z0-9_]*(?=\\s*\\()"
82
+ }
83
+ ]
84
+ },
85
+ "types": {
86
+ "name": "support.type.hica",
87
+ "match": "\\b(Int|Float|Bool|Char|CStr|String|ptr|int|float|bool|char|string|cstr)\\b"
88
+ },
89
+ "operators": {
90
+ "name": "keyword.operator.hica",
91
+ "match": "(\\+|-|\\*|/|%|==|!=|<|>|<=|>=|&&|\\|\\||!|\\|>|=|=>|\\.\\.=?|\\?|::|\\.\\.\\.)"
92
+ },
93
+ "identifiers": {
94
+ "patterns": [
95
+ {
96
+ "name": "entity.name.type.hica",
97
+ "comment": "Uppercase-starting identifiers are types/constructors",
98
+ "match": "\\b[A-Z][a-zA-Z0-9_]*\\b"
99
+ },
100
+ {
101
+ "name": "variable.other.hica",
102
+ "match": "\\b[a-z_][a-zA-Z0-9_]*\\b"
103
+ }
104
+ ]
105
+ }
106
+ }
107
+ }
helix/languages.toml ADDED
@@ -0,0 +1,10 @@
1
+ [[language]]
2
+ name = "hica"
3
+ scope = "source.hica"
4
+ file-types = ["hc"]
5
+ comment-token = "//"
6
+ indent = { tab-width = 2, unit = " " }
7
+
8
+ [[grammar]]
9
+ name = "hica"
10
+ source = { path = "/Users/pyrossh/Code/config/helix/grammars/hica.tmLanguage.json" }
homebrew/trust.json.lock ADDED
File without changes
nushell/config.nu CHANGED
@@ -912,3 +912,7 @@ def repo-push [] {
912
912
  # Clean up
913
913
  rm -rf $tmpdir
914
914
  }
915
+
916
+ def repos-backup [] {
917
+ rclone sync pyrossh-repos-prd:pyrossh-repos-prd `/Volumes/SSD T7/Repos`
918
+ }
opencode/opencode.json ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://opencode.ai/config.json",
3
+ "plugin": ["superpowers@git+https://github.com/obra/superpowers.git"]
4
+ }
opencode/opencode.jsonc CHANGED
@@ -1,3 +1,4 @@
1
1
  {
2
- "$schema": "https://opencode.ai/config.json"
2
+ "$schema": "https://opencode.ai/config.json",
3
+ "lsp": true
3
- }
4
+ }
tool_state CHANGED
@@ -1,3 +1,4 @@
1
1
  {
2
- "is-bot": false
2
+ "is-bot": false,
3
+ "last-active-master-version": "e871bd771cfa2e948239792017793b86dfeee9db"
3
4
  }