-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinstall.conf.yaml
More file actions
123 lines (120 loc) · 5.68 KB
/
install.conf.yaml
File metadata and controls
123 lines (120 loc) · 5.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
- defaults:
link:
relink: true
create: true
glob: true
- clean: ['~']
- link:
# Don't use /** for powershell, as otherwise each file gets its own symlink, which is annoying when testing changes
# to the scripts. Instead use glob: false for the scripts directory, so that only one symlink is created for the
# whole directory.
# You shouldn't symlink the whole powershell directory, as that would include the module manifest, which would cause
# problems with importing the module.
~/Documents/PowerShell:
path: pwsh/*
exclude: [pwsh/scripts]
~/Documents/PowerShell/scripts:
path: pwsh/scripts
glob: false
~/.config/git: git/**
~/.config/pay-respects: pay-respects/**
~/.config/eza: eza/**
~/.config/bat: bat/**
~/.config/komorebi: komorebi/**
$LOCALAPPDATA/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json: wt/settings.json
~/.config/whkdrc: whkd/whkdrc
~/.psmux.conf: psmux/.psmux.conf
~/.config/wpm: wpm/**
~/.config/kanata: kanata/**
~/.copilot/copilot-instructions.md: copilot/copilot-instructions.md
~/.copilot/preferences.yaml: copilot/preferences.yaml
$LOCALAPPDATA/nvim: nvim/**
$APPDATA/tuicr/config.toml: tuicr/config.toml
$APPDATA/Code/User/settings.json: vscode/settings.json
$APPDATA/Code/User/keybindings.json: vscode/keybindings.json
- shell:
- command: winget configure configuration.dsc.yaml
description: Running winget configure
stdin: true
stdout: true
stderr: true
- command: >-
pwsh -NoProfile -Command "
$env:PATH = [Environment]::GetEnvironmentVariable('PATH','Machine') + ';' + [Environment]::GetEnvironmentVariable('PATH','User');
cargo install pay-respects pay-respects-module-runtime-rules"
description: Installing pay-respects
stdout: true
stderr: true
- command: >-
pwsh -NoProfile -Command "
$env:PATH = [Environment]::GetEnvironmentVariable('PATH','Machine') + ';' + [Environment]::GetEnvironmentVariable('PATH','User');
cargo install tuicr"
description: Installing tuicr
stdout: true
stderr: true
- command: >-
pwsh -NoProfile -Command "
$env:PATH = [Environment]::GetEnvironmentVariable('PATH','Machine') + ';' + [Environment]::GetEnvironmentVariable('PATH','User');
bat cache --build"
description: Building bat cache
stdout: true
stderr: true
- command: >-
pwsh -NoProfile -Command "
$env:PATH = [Environment]::GetEnvironmentVariable('PATH','Machine') + ';' + [Environment]::GetEnvironmentVariable('PATH','User');
$t = Join-Path $env:USERPROFILE '.copilot\settings.json';
New-Item (Split-Path $t) -ItemType Directory -Force | Out-Null;
if (-not (Test-Path $t)) { '{}' | Set-Content $t };
jq -s '.[0] * .[1]' $t 'copilot/settings.json' | Set-Content $t"
description: Merging Copilot user settings (deep-merge repo settings into existing on-disk settings)
stdout: true
stderr: true
- command: >-
pwsh -NoProfile -Command "
$env:PATH = [Environment]::GetEnvironmentVariable('PATH','Machine') + ';' + [Environment]::GetEnvironmentVariable('PATH','User');
$t = Join-Path $env:USERPROFILE '.copilot\mcp-config.json';
New-Item (Split-Path $t) -ItemType Directory -Force | Out-Null;
if (-not (Test-Path $t)) { '{}' | Set-Content $t };
jq -s '.[0] * .[1]' $t 'copilot/mcp-config.json' | Set-Content $t"
description: Merging MCP server config (deep-merge so per-machine servers are preserved)
stdout: true
stderr: true
- command: >-
pwsh -NoProfile -Command "
$env:PATH = [Environment]::GetEnvironmentVariable('PATH','Machine') + ';' + [Environment]::GetEnvironmentVariable('PATH','User');
copilot plugin marketplace add aaronontheweb/dotnet-skills;
copilot plugin marketplace add mattkotsenas/agent-plugins;
copilot plugin install dotnet-skills@dotnet-skills;
copilot plugin install delve@agent-plugins;
copilot plugin install git-good@agent-plugins;
copilot plugin install prune@agent-plugins;
copilot plugin install yes-milord@agent-plugins;
copilot plugin install richlander/dotnet-inspect;
copilot plugin install ng/adversarial-review"
description: Installing Copilot plugins
stdout: true
stderr: true
# Cloning from MattKotsenas/psmux-plugins (fork) instead of psmux/psmux-plugins
# (upstream) to dogfood the A+B @plugin syntax extensions proposed in upstream
# issue psmux/psmux-plugins#16, which is what enables cleanly dogfooding the
# psmux-continuum auto-restore fix in upstream PR psmux/psmux-plugins#15.
# When both #15 and #16 land upstream, switch the URL below back to upstream.
#
# was: git clone --depth 1 https://github.com/psmux/psmux-plugins.git $tmpDir;
- command: >-
pwsh -NoProfile -Command "
$env:PATH = [Environment]::GetEnvironmentVariable('PATH','Machine') + ';' + [Environment]::GetEnvironmentVariable('PATH','User');
$pluginDir = Join-Path $env:USERPROFILE '.psmux/plugins';
$tmpDir = Join-Path $env:TEMP 'psmux-plugins';
if (Test-Path $tmpDir) { Remove-Item $tmpDir -Recurse -Force };
git clone --depth 1 https://github.com/MattKotsenas/psmux-plugins.git $tmpDir;
$plugins = @('ppm','psmux-sensible','psmux-pain-control','psmux-resurrect','psmux-continuum','psmux-theme-catppuccin');
foreach ($p in $plugins) {
$dest = Join-Path $pluginDir $p;
if (-not (Test-Path $dest)) { New-Item $dest -ItemType Directory -Force | Out-Null };
Copy-Item (Join-Path $tmpDir $p '*') $dest -Recurse -Force
};
Remove-Item $tmpDir -Recurse -Force"
description: Installing psmux plugins
stdout: true
stderr: true