config
git clone https://git.pyrossh.dev/config
Common configuration
5e279f0
— Peter John
2026-08-05T10:53:39+05:30
update repo push
- helix/languages.toml +7 -6
- homebrew/trust.json.lock +0 -0
- nushell/config.nu +2 -10
- nushell/env.nu +1 -0
helix/languages.toml
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
[[language]]
|
|
2
|
-
name = "
|
|
2
|
+
name = "plum"
|
|
3
|
-
scope = "source.
|
|
3
|
+
scope = "source.plum"
|
|
4
|
+
injection-regex = "plum"
|
|
4
|
-
file-types = ["
|
|
5
|
+
file-types = ["plum"]
|
|
5
|
-
comment-
|
|
6
|
+
comment-tokens = "#"
|
|
6
7
|
indent = { tab-width = 2, unit = " " }
|
|
7
8
|
|
|
8
9
|
[[grammar]]
|
|
9
|
-
name = "
|
|
10
|
+
name = "plum"
|
|
10
|
-
source = { path = "/Users/pyrossh/Code/
|
|
11
|
+
source = { path = "/Users/pyrossh/Code/plum/tooling/tree-sitter-plum" }
|
homebrew/trust.json.lock
DELETED
|
File without changes
|
nushell/config.nu
CHANGED
|
@@ -901,18 +901,10 @@ def repo-push [] {
|
|
|
901
901
|
git gc --prune=now
|
|
902
902
|
git repack -a -d -f --depth=250 --window=250
|
|
903
903
|
git update-server-info
|
|
904
|
-
let tmpdir = (mktemp -d | str trim)
|
|
905
904
|
let repo_name = (basename (pwd))
|
|
906
|
-
# Extract files from HEAD into temp directory
|
|
907
|
-
git archive HEAD | tar -x -C $tmpdir
|
|
908
|
-
# Copy .git directory
|
|
909
|
-
cp -r .git $"($tmpdir)/.git"
|
|
910
|
-
# Sync to remote
|
|
911
|
-
rclone sync -P --http-headers '"Content-Type","application/octet-stream"'
|
|
905
|
+
rclone sync -P --http-headers '"Content-Type","application/octet-stream"' .git $"pyrossh-repos-prd:pyrossh-repos-prd/($repo_name)"
|
|
912
|
-
# Clean up
|
|
913
|
-
rm -rf $tmpdir
|
|
914
906
|
}
|
|
915
907
|
|
|
916
|
-
def
|
|
908
|
+
def backup-all-repos [] {
|
|
917
909
|
rclone sync pyrossh-repos-prd:pyrossh-repos-prd `/Volumes/SSD T7/Repos`
|
|
918
910
|
}
|
nushell/env.nu
CHANGED
|
@@ -35,6 +35,7 @@ $env.JAVA_HOME = "/opt/homebrew/opt/openjdk@17"
|
|
|
35
35
|
$env.ANDROID_HOME = "/Users/pyrossh/Library/Android/sdk"
|
|
36
36
|
$env.ANDROID_SDK_ROOT = "/Users/pyrossh/Library/Android/sdk"
|
|
37
37
|
$env.ANDROID_NDK_ROOT = "/Users/pyrossh/Library/Android/sdk/ndk/29.0.13113456"
|
|
38
|
+
$env.ANDROID_NDK_HOME = "/Users/pyrossh/Library/Android/sdk/ndk/29.0.13113456"
|
|
38
39
|
path add /opt/homebrew/bin
|
|
39
40
|
path add /opt/homebrew/opt/openjdk@17/bin
|
|
40
41
|
path add /opt/homebrew/opt/ruby/bin
|