-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.ps1
18 lines (15 loc) · 1.1 KB
/
setup.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
winget install --id Microsoft.Powershell
# Call update-path.ps1 in this folder
. $PSScriptRoot\update-path.ps1
git config --global --add safe.directory E:/build/terminalbuild2024demo/
git config --global --add safe.directory E:/build/terminalbuild2024demo/terminal/settings/terminal
git config --global --add safe.directory E:/build/sudo
# Delete .\mike\terminal-1.21.1161.0\settings\terminal if it exists, and create a new one
Remove-Item -Recurse -Force $PSScriptRoot\terminal\settings\terminal
New-Item -ItemType Directory -Path $PSScriptRoot\terminal\settings\terminal
Remove-Item -Recurse -Force $PSScriptRoot\terminal\settings\terminal-docs
New-Item -ItemType Directory -Path $PSScriptRoot\terminal\settings\terminal-docs
# Clone the Terminal repo. We only need the last few commits
git clone https://github.com/microsoft/terminal.git --depth 25 $PSScriptRoot\terminal\settings\terminal
# git clone https://github.com/microsoft/terminal.git $PSScriptRoot\terminal\settings\terminal
git clone https://github.com/microsoftdocs/terminal.git --depth 25 $PSScriptRoot\terminal\settings\terminal-docs