~repos /config

#brew#nushell

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

Common configuration


aca92b7d pyrossh

6 months ago
update config
Files changed (8) hide show
  1. .gitignore +7 -0
  2. .vscode/extensions.json +5 -0
  3. ghostty/config +28 -0
  4. iterm2.json +0 -237
  5. nushell/config.nu +4 -8
  6. nushell/env.nu +7 -0
  7. setup.sh +4 -6
  8. term.json +0 -239
.gitignore CHANGED
@@ -1 +1,8 @@
1
+ .android
2
+ swiftpm
3
+ configstore
4
+ containers
5
+ NuGet
1
6
  nushell/history.txt
7
+ keystore.jks
8
+ upload-keystore.jks
.vscode/extensions.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "recommendations": [
3
+ "TheNuProjectContributors.vscode-nushell-lang"
4
+ ],
5
+ }
ghostty/config ADDED
@@ -0,0 +1,28 @@
1
+ background = #191d27
2
+ foreground = #f4f4f4
3
+ cursor-color = #feffff
4
+ cursor-text = #feffff
5
+ selection-background = #89b0e8
6
+ selection-foreground = #b16e6c
7
+ palette = 0=#000000
8
+ palette = 1=#8b1a11
9
+ palette = 2=#69c44a
10
+ palette = 3=#98992f
11
+ palette = 4=#6b61f6
12
+ palette = 5=#d257da
13
+ palette = 6=#69c1ce
14
+ palette = 7=#f4f4f4
15
+ palette = 8=#656565
16
+ palette = 9=#d22d1f
17
+ palette = 10=#62d53f
18
+ palette = 11=#e5e54a
19
+ palette = 12=#6287f7
20
+ palette = 13=#d12ddc
21
+ palette = 14=#6287f7
22
+ palette = 15=#f4f4f4
23
+ font-size = 17
24
+ font-family = Ubuntu Mono
25
+ font-style = Regular
26
+ font-thicken = true
27
+ font-thicken-strength = 255
28
+ # theme = Monokai Pro Spectrum
iterm2.json DELETED
@@ -1,237 +0,0 @@
1
- {
2
- "Ansi 6 Color": {
3
- "Red Component": 0.25882352941176473,
4
- "Color Space": "sRGB",
5
- "Blue Component": 0.81960784313725488,
6
- "Alpha Component": 1,
7
- "Green Component": 0.7686274509803922
8
- },
9
- "Tags": [],
10
- "Ansi 12 Color": {
11
- "Red Component": 0.34509803921568627,
12
- "Color Space": "sRGB",
13
- "Blue Component": 1,
14
- "Alpha Component": 1,
15
- "Green Component": 0.53725490196078429
16
- },
17
- "Ansi 0 Color": {
18
- "Green Component": 0,
19
- "Red Component": 0,
20
- "Blue Component": 0
21
- },
22
- "Draw Powerline Glyphs": true,
23
- "Bold Color": {
24
- "Red Component": 0.95686274509803926,
25
- "Color Space": "sRGB",
26
- "Blue Component": 0.95686274509803926,
27
- "Alpha Component": 1,
28
- "Green Component": 0.95686274509803926
29
- },
30
- "Normal Font": "UbuntuMono-Regular 18",
31
- "Ansi 1 Color": {
32
- "Red Component": 0.59999999999999998,
33
- "Color Space": "sRGB",
34
- "Blue Component": 0.0039215686274509786,
35
- "Alpha Component": 1,
36
- "Green Component": 0
37
- },
38
- "Ansi 2 Color": {
39
- "Red Component": 0.25098039215686274,
40
- "Color Space": "sRGB",
41
- "Blue Component": 0.19215686274509805,
42
- "Alpha Component": 1,
43
- "Green Component": 0.7803921568627451
44
- },
45
- "Rows": 25,
46
- "Default Bookmark": "No",
47
- "Ansi 3 Color": {
48
- "Red Component": 0.59999999999999998,
49
- "Color Space": "sRGB",
50
- "Blue Component": 0,
51
- "Alpha Component": 1,
52
- "Green Component": 0.59999999999999998
53
- },
54
- "Non-ASCII Anti Aliased": true,
55
- "Use Bright Bold": true,
56
- "Ansi 10 Color": {
57
- "Red Component": 0,
58
- "Color Space": "sRGB",
59
- "Blue Component": 0,
60
- "Alpha Component": 1,
61
- "Green Component": 0.85098039215686272
62
- },
63
- "Ambiguous Double Width": false,
64
- "Jobs to Ignore": [
65
- "rlogin",
66
- "ssh",
67
- "slogin",
68
- "telnet"
69
- ],
70
- "Ansi 15 Color": {
71
- "Red Component": 0.95686274509803926,
72
- "Color Space": "sRGB",
73
- "Blue Component": 0.95686274509803926,
74
- "Alpha Component": 1,
75
- "Green Component": 0.95686274509803926
76
- },
77
- "Foreground Color": {
78
- "Red Component": 0.95686274509803926,
79
- "Color Space": "sRGB",
80
- "Blue Component": 0.95686274509803926,
81
- "Alpha Component": 1,
82
- "Green Component": 0.95686274509803926
83
- },
84
- "Use Tab Color": false,
85
- "Blinking Cursor": false,
86
- "Disable Window Resizing": true,
87
- "Sync Title": false,
88
- "Prompt Before Closing 2": false,
89
- "BM Growl": true,
90
- "Command": "",
91
- "Description": "iTerm2",
92
- "Mouse Reporting": true,
93
- "Screen": -1,
94
- "Selection Color": {
95
- "Red Component": 0.49770425799806617,
96
- "Color Space": "sRGB",
97
- "Blue Component": 0.92981290817260742,
98
- "Alpha Component": 1,
99
- "Green Component": 0.69699200708257314
100
- },
101
- "Initial Use Transparency": true,
102
- "Columns": 80,
103
- "Idle Code": 0,
104
- "Working Dirctory": "\/Users\/peterjohn",
105
- "Ansi 13 Color": {
106
- "Red Component": 0.89803921568627454,
107
- "Color Space": "sRGB",
108
- "Blue Component": 0.89411764705882357,
109
- "Alpha Component": 1,
110
- "Green Component": 0.0039215686274509786
111
- },
112
- "Title Components": 128,
113
- "Brighten Bold Text": true,
114
- "Custom Command": "No",
115
- "ASCII Anti Aliased": true,
116
- "Non Ascii Font": "Monaco 12",
117
- "Vertical Spacing": 1,
118
- "Use Bold Font": true,
119
- "Option Key Sends": 0,
120
- "Selected Text Color": {
121
- "Red Component": 0.74152278900146484,
122
- "Color Space": "sRGB",
123
- "Blue Component": 0.41893920307893495,
124
- "Alpha Component": 1,
125
- "Green Component": 0.41893920307893495
126
- },
127
- "Background Color": {
128
- "Red Component": 0.094117647058823528,
129
- "Color Space": "sRGB",
130
- "Blue Component": 0.15686274509803921,
131
- "Alpha Component": 1,
132
- "Green Component": 0.11764705882352941
133
- },
134
- "Character Encoding": 4,
135
- "Ansi 11 Color": {
136
- "Red Component": 0.90196078431372551,
137
- "Color Space": "sRGB",
138
- "Blue Component": 0,
139
- "Alpha Component": 1,
140
- "Green Component": 0.89803921568627454
141
- },
142
- "Thin Strokes": 0,
143
- "Use Italic Font": true,
144
- "Unlimited Scrollback": true,
145
- "Keyboard Map": {
146
- "0x77-0x100000-0xd": {
147
- "Version": 1,
148
- "Action": 38,
149
- "Text": ":ToggleTerm\\n",
150
- "Label": ""
151
- }
152
- },
153
- "Window Type": 0,
154
- "Cursor Type": 1,
155
- "Background Image Location": "",
156
- "Blur": false,
157
- "Allow Title Setting": false,
158
- "Scrollback Lines": 0,
159
- "Send Code When Idle": false,
160
- "Close Sessions On End": true,
161
- "Terminal Type": "xterm-256color",
162
- "Visual Bell": true,
163
- "Flashing Bell": false,
164
- "Silence Bell": false,
165
- "Use Underline Color": false,
166
- "Ansi 14 Color": {
167
- "Red Component": 0.34509803921568627,
168
- "Color Space": "sRGB",
169
- "Blue Component": 1,
170
- "Alpha Component": 1,
171
- "Green Component": 0.53725490196078429
172
- },
173
- "Unicode Version": 9,
174
- "ASCII Ligatures": false,
175
- "Name": "iTerm2",
176
- "Cursor Text Color": {
177
- "Green Component": 1,
178
- "Red Component": 1,
179
- "Blue Component": 1
180
- },
181
- "Shortcut": "",
182
- "Cursor Color": {
183
- "Red Component": 1,
184
- "Color Space": "sRGB",
185
- "Blue Component": 1,
186
- "Alpha Component": 1,
187
- "Green Component": 1
188
- },
189
- "Transparency": 0,
190
- "Guid": "8EB11186-A4A6-4322-97BC-8385D9A5C82C",
191
- "Custom Directory": "Recycle",
192
- "Horizontal Spacing": 1,
193
- "Ansi 4 Color": {
194
- "Red Component": 0.43137254901960786,
195
- "Color Space": "sRGB",
196
- "Blue Component": 1,
197
- "Alpha Component": 1,
198
- "Green Component": 0.38039215686274508
199
- },
200
- "Right Option Key Sends": 0,
201
- "Use Non-ASCII Font": false,
202
- "Ansi 7 Color": {
203
- "Red Component": 0.95686274509803926,
204
- "Color Space": "sRGB",
205
- "Blue Component": 0.95686274509803926,
206
- "Alpha Component": 1,
207
- "Green Component": 0.95686274509803926
208
- },
209
- "Ansi 8 Color": {
210
- "Red Component": 0.40000000000000002,
211
- "Color Space": "sRGB",
212
- "Blue Component": 0.40000000000000002,
213
- "Alpha Component": 1,
214
- "Green Component": 0.40000000000000002
215
- },
216
- "Ansi 9 Color": {
217
- "Red Component": 0.90196078431372551,
218
- "Color Space": "sRGB",
219
- "Blue Component": 0.0039215686274509786,
220
- "Alpha Component": 1,
221
- "Green Component": 0
222
- },
223
- "Link Color": {
224
- "Red Component": 0.34509803921568627,
225
- "Color Space": "sRGB",
226
- "Blue Component": 1,
227
- "Alpha Component": 1,
228
- "Green Component": 0.53725490196078429
229
- },
230
- "Ansi 5 Color": {
231
- "Red Component": 0.8901960784313725,
232
- "Color Space": "sRGB",
233
- "Blue Component": 0.88235294117647056,
234
- "Alpha Component": 1,
235
- "Green Component": 0.29803921568627451
236
- }
237
- }
nushell/config.nu CHANGED
@@ -204,10 +204,10 @@ $env.config = {
204
204
  }
205
205
 
206
206
  history: {
207
- max_size: 100_000 # Session has to be reloaded for this to take effect
207
+ max_size: 1000_000 # Session has to be reloaded for this to take effect
208
- sync_on_enter: false # Enable to share history between multiple sessions, else you have to close the session to write history to file
208
+ sync_on_enter: true # Enable to share history between multiple sessions, else you have to close the session to write history to file
209
209
  file_format: "plaintext" # "sqlite" or "plaintext"
210
- isolation: false # only available with sqlite file_format. true enables history isolation, false disables it. true will allow the history to be isolated to the current session using up/down arrows. false will allow the history to be shared across all sessions.
210
+ isolation: true # only available with sqlite file_format. true enables history isolation, false disables it. true will allow the history to be isolated to the current session using up/down arrows. false will allow the history to be shared across all sessions.
211
211
  }
212
212
 
213
213
  completions: {
@@ -224,11 +224,6 @@ $env.config = {
224
224
  use_ls_colors: true # set this to true to enable file/path/directory completions using LS_COLORS
225
225
  }
226
226
 
227
- filesize: {
228
- metric: false # true => KB, MB, GB (ISO standard), false => KiB, MiB, GiB (Windows standard)
229
- format: "auto" # b, kb, kib, mb, mib, gb, gib, tb, tib, pb, pib, eb, eib, auto
230
- }
231
-
232
227
  cursor_shape: {
233
228
  emacs: line # block, underscore, line, blink_block, blink_underscore, blink_line, inherit to skip setting cursor shape (line is the default)
234
229
  vi_insert: block # block, underscore, line, blink_block, blink_underscore, blink_line, inherit to skip setting cursor shape (block is the default)
@@ -897,3 +892,4 @@ $env.config = {
897
892
  }
898
893
  ]
899
894
  }
895
+ source $"($nu.home-path)/.cargo/env.nu"
nushell/env.nu CHANGED
@@ -31,8 +31,15 @@ $env.PROMPT_INDICATOR = $"(ansi y)$> (ansi reset)"
31
31
 
32
32
  use std "path add"
33
33
  $env.PATH = ($env.PATH | split row (char esep))
34
+ $env.JAVA_HOME = "/Applications/Android Studio.app/Contents/jbr/Contents/Home"
35
+ $env.ANDROID_HOME = "/Users/pyrossh/Library/Android/sdk"
36
+ $env.NDK_HOME = "/Users/pyrossh/Library/Android/sdk/ndk/29.0.13113456"
34
37
  path add /opt/homebrew/bin
35
38
  path add /opt/homebrew/opt/openjdk/bin
36
39
  path add /opt/homebrew/opt/ruby/bin
37
40
  path add ~/.cargo/bin
38
41
  path add ~/Library/Android/sdk/platform-tools/
42
+ path add ~/.dotnet
43
+ path add ~/.dotnet/tools
44
+ path add ~/.local/bin
45
+ path add /usr/local/bin
setup.sh CHANGED
@@ -1,15 +1,13 @@
1
- brew install nu helix zellij colima docker kubectl kubectx \
1
+ brew install nu helix zellij colima openjdk gradle mas cocoapods kdoctor nextdns node
2
- openjdk gradle mas cocoapods kdoctor nextdns node jandedobbeleer/oh-my-posh/oh-my-posh
3
2
 
4
- brew --cask install visual-studio-code android-studio intellij-idea iterm2 google-chrome \
3
+ brew --cask install ghostty visual-studio-code android-studio google-chrome obsidian secretive mpv stats pika font-ubuntu-mono
5
- obsidian secretive mpv stats font-ubuntu font-ubuntu-mono font-ubuntu-mono-nerd-font postico
6
4
 
7
5
  mas install 497799835 # installs xcode
8
6
  echo /opt/homebrew/bin/nu | sudo tee -a /etc/shells
9
7
  chsh -s /opt/homebrew/bin/nu
10
8
  launchctl setenv PATH /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/homebrew/bin
11
9
  launchctl setenv XDG_CONFIG_HOME /Users/pyrossh/Code/pyrossh/config
12
- launchctl setenv JAVA_HOME "/opt/homebrew/opt/openjdk"
10
+ launchctl setenv JAVA_HOME "/Applications/Android Studio.app/Contents/jbr/Contents/Home"
13
11
  launchctl setenv ANDROID_HOME ~/Library/Android/sdk
14
12
  launchctl setenv EDITOR hx
15
- git config --global --add --bool push.autoSetupRemote true
13
+ git config --global --add --bool push.autoSetupRemote true
term.json DELETED
@@ -1,239 +0,0 @@
1
- {
2
- "Ansi 6 Color" : {
3
- "Red Component" : 0.25882352941176473,
4
- "Color Space" : "sRGB",
5
- "Blue Component" : 0.81960784313725488,
6
- "Alpha Component" : 1,
7
- "Green Component" : 0.7686274509803922
8
- },
9
- "Tags" : [
10
-
11
- ],
12
- "Ansi 12 Color" : {
13
- "Red Component" : 0.34509803921568627,
14
- "Color Space" : "sRGB",
15
- "Blue Component" : 1,
16
- "Alpha Component" : 1,
17
- "Green Component" : 0.53725490196078429
18
- },
19
- "Horizontal Spacing" : 1,
20
- "Draw Powerline Glyphs" : true,
21
- "Bold Color" : {
22
- "Red Component" : 0.95686274509803926,
23
- "Color Space" : "sRGB",
24
- "Blue Component" : 0.95686274509803926,
25
- "Alpha Component" : 1,
26
- "Green Component" : 0.95686274509803926
27
- },
28
- "Normal Font" : "LigaMenlo-Regular 14",
29
- "Link Color" : {
30
- "Red Component" : 0.34509803921568627,
31
- "Color Space" : "sRGB",
32
- "Blue Component" : 1,
33
- "Alpha Component" : 1,
34
- "Green Component" : 0.53725490196078429
35
- },
36
- "Ansi 4 Color" : {
37
- "Red Component" : 0.43137254901960786,
38
- "Color Space" : "sRGB",
39
- "Blue Component" : 1,
40
- "Alpha Component" : 1,
41
- "Green Component" : 0.38039215686274508
42
- },
43
- "Rows" : 25,
44
- "Default Bookmark" : "No",
45
- "Right Option Key Sends" : 0,
46
- "Non-ASCII Anti Aliased" : true,
47
- "Use Bright Bold" : true,
48
- "Ansi 10 Color" : {
49
- "Red Component" : 0,
50
- "Color Space" : "sRGB",
51
- "Blue Component" : 0,
52
- "Alpha Component" : 1,
53
- "Green Component" : 0.85098039215686272
54
- },
55
- "Ambiguous Double Width" : false,
56
- "Jobs to Ignore" : [
57
- "rlogin",
58
- "ssh",
59
- "slogin",
60
- "telnet"
61
- ],
62
- "Ansi 15 Color" : {
63
- "Red Component" : 0.95686274509803926,
64
- "Color Space" : "sRGB",
65
- "Blue Component" : 0.95686274509803926,
66
- "Alpha Component" : 1,
67
- "Green Component" : 0.95686274509803926
68
- },
69
- "Foreground Color" : {
70
- "Red Component" : 0.95686274509803926,
71
- "Color Space" : "sRGB",
72
- "Blue Component" : 0.95686274509803926,
73
- "Alpha Component" : 1,
74
- "Green Component" : 0.95686274509803926
75
- },
76
- "Use Tab Color" : false,
77
- "Blinking Cursor" : false,
78
- "Disable Window Resizing" : true,
79
- "Sync Title" : false,
80
- "Prompt Before Closing 2" : false,
81
- "BM Growl" : true,
82
- "Command" : "",
83
- "Description" : "iTerm2",
84
- "Mouse Reporting" : true,
85
- "Screen" : -1,
86
- "Selection Color" : {
87
- "Red Component" : 0.49770425799806617,
88
- "Color Space" : "sRGB",
89
- "Blue Component" : 0.92981290817260742,
90
- "Alpha Component" : 1,
91
- "Green Component" : 0.69699200708257314
92
- },
93
- "Initial Use Transparency" : true,
94
- "Columns" : 80,
95
- "Idle Code" : 0,
96
- "Working Dirctory" : "\/Users\/peterjohn",
97
- "Ansi 13 Color" : {
98
- "Red Component" : 0.89803921568627454,
99
- "Color Space" : "sRGB",
100
- "Blue Component" : 0.89411764705882357,
101
- "Alpha Component" : 1,
102
- "Green Component" : 0.0039215686274509786
103
- },
104
- "Title Components" : 128,
105
- "Brighten Bold Text" : true,
106
- "Custom Command" : "No",
107
- "ASCII Anti Aliased" : true,
108
- "Non Ascii Font" : "Monaco 12",
109
- "Vertical Spacing" : 1,
110
- "Use Bold Font" : true,
111
- "Option Key Sends" : 0,
112
- "Selected Text Color" : {
113
- "Red Component" : 0.74152278900146484,
114
- "Color Space" : "sRGB",
115
- "Blue Component" : 0.41893920307893495,
116
- "Alpha Component" : 1,
117
- "Green Component" : 0.41893920307893495
118
- },
119
- "Background Color" : {
120
- "Red Component" : 0.094117647058823528,
121
- "Color Space" : "sRGB",
122
- "Blue Component" : 0.15686274509803921,
123
- "Alpha Component" : 1,
124
- "Green Component" : 0.11764705882352941
125
- },
126
- "Character Encoding" : 4,
127
- "Ansi 11 Color" : {
128
- "Red Component" : 0.90196078431372551,
129
- "Color Space" : "sRGB",
130
- "Blue Component" : 0,
131
- "Alpha Component" : 1,
132
- "Green Component" : 0.89803921568627454
133
- },
134
- "Thin Strokes" : 0,
135
- "Use Italic Font" : true,
136
- "Unlimited Scrollback" : true,
137
- "Keyboard Map" : {
138
- "0x77-0x100000-0xd" : {
139
- "Version" : 1,
140
- "Action" : 38,
141
- "Text" : ":ToggleTerm\\n",
142
- "Label" : ""
143
- }
144
- },
145
- "Window Type" : 0,
146
- "Cursor Type" : 1,
147
- "Background Image Location" : "",
148
- "Blur" : false,
149
- "Allow Title Setting" : false,
150
- "Scrollback Lines" : 0,
151
- "Send Code When Idle" : false,
152
- "Close Sessions On End" : true,
153
- "Terminal Type" : "xterm-256color",
154
- "Visual Bell" : true,
155
- "Flashing Bell" : false,
156
- "Silence Bell" : false,
157
- "Use Underline Color" : false,
158
- "Ansi 14 Color" : {
159
- "Red Component" : 0.34509803921568627,
160
- "Color Space" : "sRGB",
161
- "Blue Component" : 1,
162
- "Alpha Component" : 1,
163
- "Green Component" : 0.53725490196078429
164
- },
165
- "Unicode Version" : 9,
166
- "ASCII Ligatures" : true,
167
- "Name" : "iTerm2",
168
- "Cursor Text Color" : {
169
- "Green Component" : 1,
170
- "Red Component" : 1,
171
- "Blue Component" : 1
172
- },
173
- "Shortcut" : "",
174
- "Cursor Color" : {
175
- "Red Component" : 1,
176
- "Color Space" : "sRGB",
177
- "Blue Component" : 1,
178
- "Alpha Component" : 1,
179
- "Green Component" : 1
180
- },
181
- "Ansi 0 Color" : {
182
- "Green Component" : 0,
183
- "Red Component" : 0,
184
- "Blue Component" : 0
185
- },
186
- "Ansi 1 Color" : {
187
- "Red Component" : 0.59999999999999998,
188
- "Color Space" : "sRGB",
189
- "Blue Component" : 0.0039215686274509786,
190
- "Alpha Component" : 1,
191
- "Green Component" : 0
192
- },
193
- "Ansi 2 Color" : {
194
- "Red Component" : 0.25098039215686274,
195
- "Color Space" : "sRGB",
196
- "Blue Component" : 0.19215686274509805,
197
- "Alpha Component" : 1,
198
- "Green Component" : 0.7803921568627451
199
- },
200
- "Ansi 3 Color" : {
201
- "Red Component" : 0.59999999999999998,
202
- "Color Space" : "sRGB",
203
- "Blue Component" : 0,
204
- "Alpha Component" : 1,
205
- "Green Component" : 0.59999999999999998
206
- },
207
- "Custom Directory" : "Recycle",
208
- "Ansi 5 Color" : {
209
- "Red Component" : 0.8901960784313725,
210
- "Color Space" : "sRGB",
211
- "Blue Component" : 0.88235294117647056,
212
- "Alpha Component" : 1,
213
- "Green Component" : 0.29803921568627451
214
- },
215
- "Use Non-ASCII Font" : false,
216
- "Ansi 7 Color" : {
217
- "Red Component" : 0.95686274509803926,
218
- "Color Space" : "sRGB",
219
- "Blue Component" : 0.95686274509803926,
220
- "Alpha Component" : 1,
221
- "Green Component" : 0.95686274509803926
222
- },
223
- "Ansi 8 Color" : {
224
- "Red Component" : 0.40000000000000002,
225
- "Color Space" : "sRGB",
226
- "Blue Component" : 0.40000000000000002,
227
- "Alpha Component" : 1,
228
- "Green Component" : 0.40000000000000002
229
- },
230
- "Ansi 9 Color" : {
231
- "Red Component" : 0.90196078431372551,
232
- "Color Space" : "sRGB",
233
- "Blue Component" : 0.0039215686274509786,
234
- "Alpha Component" : 1,
235
- "Green Component" : 0
236
- },
237
- "Transparency" : 0,
238
- "Guid" : "8EB11186-A4A6-4322-97BC-8385D9A5C82C"
239
- }