From 14f391021ce694ed61d086a80351e22348c1be56 Mon Sep 17 00:00:00 2001 From: Werner Date: Sat, 12 Nov 2022 14:52:39 -0300 Subject: [PATCH] Initial windows scripts --- Bootstrap.ps1 | 8 ++++++++ Config/Microsoft.PowerShell_profile.ps1 | 1 + 2 files changed, 9 insertions(+) create mode 100644 Bootstrap.ps1 create mode 100644 Config/Microsoft.PowerShell_profile.ps1 diff --git a/Bootstrap.ps1 b/Bootstrap.ps1 new file mode 100644 index 0000000..c6081b4 --- /dev/null +++ b/Bootstrap.ps1 @@ -0,0 +1,8 @@ +#!/usr/bin/env pwsh + +# Shell + +New-Item -Type Directory $home/Documents/PowerShell +Copy-Item ./Config/Microsoft.PowerShell_profile.ps1 $home/Documents/PowerShell +Copy-Item ./Config/starship.toml $home/.config +winget install starship diff --git a/Config/Microsoft.PowerShell_profile.ps1 b/Config/Microsoft.PowerShell_profile.ps1 new file mode 100644 index 0000000..9deeb1d --- /dev/null +++ b/Config/Microsoft.PowerShell_profile.ps1 @@ -0,0 +1 @@ +Invoke-Expression (&starship init powershell)