feat: Added init.ps1 as well as powershell config files

This commit is contained in:
Kitty Fangs 2024-05-07 07:35:08 +00:00
parent 66170a26d6
commit 541a3b28cf
7 changed files with 690 additions and 0 deletions

View File

@ -0,0 +1 @@
../../Documents/PowerShell/Microsoft.PowerShell_profile.ps1

13
home/.gitconfig Normal file
View File

@ -0,0 +1,13 @@
[credential]
helper = store
[user]
name = Kitty
email = kat@firekitten.net
# include for public github
[includeIf "gitdir:~/source/github_personal/"]
path = ~/source/github_personal/.gitconfig
# include for mad github
[includeIf "gitdir:~/source/github_mad/"]
path = ~/source/github_mad/.gitconfig

View File

@ -0,0 +1,639 @@
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "copy",
"singleLine": false
},
"keys": "ctrl+c"
},
{
"command": "paste",
"keys": "ctrl+v"
},
{
"command":
{
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
},
"keys": "alt+shift+d"
},
{
"command": "find",
"keys": "ctrl+shift+f"
}
],
"copyFormatting": "none",
"copyOnSelect": true,
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"newTabMenu":
[
{
"type": "remainingProfiles"
}
],
"profiles":
{
"defaults":
{
"colorScheme": "Retrowave",
"font":
{
"face": "JetBrainsMono Nerd Font Mono"
},
"useAcrylic": true
},
"list":
[
{
"commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"hidden": false,
"name": "Windows PowerShell"
},
{
"commandline": "%SystemRoot%\\System32\\cmd.exe",
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"hidden": false,
"name": "Command Prompt"
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
},
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": false,
"name": "PowerShell",
"source": "Windows.Terminal.PowershellCore"
},
{
"guid": "{16208362-94fc-5b1f-a491-5b2624d5ab56}",
"hidden": true,
"name": "Visual Studio Debug Console",
"source": "VSDebugConsole"
},
{
"colorScheme": "WildCherry",
"guid": "{51855cb2-8cce-5362-8f54-464b92b32386}",
"hidden": false,
"name": "Ubuntu",
"source": "CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc"
},
{
"guid": "{636e5d1f-112d-5fe1-9c5a-a78254d9cbfc}",
"hidden": false,
"name": "Developer Command Prompt for VS 2022",
"source": "Windows.Terminal.VisualStudio"
},
{
"guid": "{2099e9b8-aed6-515e-aecd-c6b4286fb004}",
"hidden": false,
"name": "Developer PowerShell for VS 2022",
"source": "Windows.Terminal.VisualStudio"
}
]
},
"schemes":
[
{
"background": "#191323",
"black": "#17141F",
"blue": "#22E8DF",
"brightBlack": "#495162",
"brightBlue": "#91FFF4",
"brightCyan": "#BCF3FF",
"brightGreen": "#98C379",
"brightPurple": "#DA70D6",
"brightRed": "#FE9EA1",
"brightWhite": "#FFFFFF",
"brightYellow": "#F9E46B",
"cursorColor": "#E07D13",
"cyan": "#56B6C2",
"foreground": "#CCCCCC",
"green": "#00BD9C",
"name": "Banana Blueberry",
"purple": "#DC396A",
"red": "#FF6B7F",
"selectionBackground": "#220525",
"white": "#F1F1F1",
"yellow": "#E6C62F"
},
{
"background": "#0C0C0C",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cursorColor": "#FFFFFF",
"cyan": "#3A96DD",
"foreground": "#CCCCCC",
"green": "#13A10E",
"name": "Campbell",
"purple": "#881798",
"red": "#C50F1F",
"selectionBackground": "#FFFFFF",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#012456",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cursorColor": "#FFFFFF",
"cyan": "#3A96DD",
"foreground": "#CCCCCC",
"green": "#13A10E",
"name": "Campbell Powershell",
"purple": "#881798",
"red": "#C50F1F",
"selectionBackground": "#FFFFFF",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#000000",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cursorColor": "#FFFFFF",
"cyan": "#3A96DD",
"foreground": "#FFFFFF",
"green": "#13A10E",
"name": "Color Scheme 11",
"purple": "#881798",
"red": "#C50F1F",
"selectionBackground": "#FFFFFF",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#272932",
"black": "#272932",
"blue": "#9381FF",
"brightBlack": "#7B8097",
"brightBlue": "#37EBF3",
"brightCyan": "#37EBF3",
"brightGreen": "#40FFE9",
"brightPurple": "#CB1DCD",
"brightRed": "#C71515",
"brightWhite": "#C1DEFF",
"brightYellow": "#FFF955",
"cursorColor": "#FDF500",
"cyan": "#00D0DB",
"foreground": "#E455AE",
"green": "#1AC5B0",
"name": "CyberPunk2077",
"purple": "#742D8B",
"red": "#710000",
"selectionBackground": "#742D8B",
"white": "#D1C5C0",
"yellow": "#FDF500"
},
{
"background": "#090819",
"black": "#283034",
"blue": "#E388FF",
"brightBlack": "#FF1998",
"brightBlue": "#42C6FF",
"brightCyan": "#3DD8FF",
"brightGreen": "#83FF52",
"brightPurple": "#FF2AFC",
"brightRed": "#FF006E",
"brightWhite": "#F4F6F9",
"brightYellow": "#E5FF00",
"cursorColor": "#00FFFF",
"cyan": "#00E5FF",
"foreground": "#6600FF",
"green": "#00FF80",
"name": "Night City",
"purple": "#9900FF",
"red": "#FF0000",
"selectionBackground": "#4A7AFF",
"white": "#6600FF",
"yellow": "#FFD400"
},
{
"background": "#282C34",
"black": "#282C34",
"blue": "#61AFEF",
"brightBlack": "#5A6374",
"brightBlue": "#61AFEF",
"brightCyan": "#56B6C2",
"brightGreen": "#98C379",
"brightPurple": "#C678DD",
"brightRed": "#E06C75",
"brightWhite": "#DCDFE4",
"brightYellow": "#E5C07B",
"cursorColor": "#FFFFFF",
"cyan": "#56B6C2",
"foreground": "#DCDFE4",
"green": "#98C379",
"name": "One Half Dark",
"purple": "#C678DD",
"red": "#E06C75",
"selectionBackground": "#FFFFFF",
"white": "#DCDFE4",
"yellow": "#E5C07B"
},
{
"background": "#FAFAFA",
"black": "#383A42",
"blue": "#0184BC",
"brightBlack": "#4F525D",
"brightBlue": "#61AFEF",
"brightCyan": "#56B5C1",
"brightGreen": "#98C379",
"brightPurple": "#C577DD",
"brightRed": "#DF6C75",
"brightWhite": "#FFFFFF",
"brightYellow": "#E4C07A",
"cursorColor": "#4F525D",
"cyan": "#0997B3",
"foreground": "#383A42",
"green": "#50A14F",
"name": "One Half Light",
"purple": "#A626A4",
"red": "#E45649",
"selectionBackground": "#FFFFFF",
"white": "#FAFAFA",
"yellow": "#C18301"
},
{
"background": "#070825",
"black": "#181A1F",
"blue": "#46BDFF",
"brightBlack": "#FF16B0",
"brightBlue": "#46BDFF",
"brightCyan": "#FF901F",
"brightGreen": "#FCEE54",
"brightPurple": "#FF92DF",
"brightRed": "#F85353",
"brightWhite": "#FFFFFF",
"brightYellow": "#FFFFFF",
"cursorColor": "#FFFFFF",
"cyan": "#DF81FC",
"foreground": "#46BDFF",
"green": "#929292",
"name": "Retrowave",
"purple": "#FF92DF",
"red": "#FF16B0",
"selectionBackground": "#FFFFFF",
"white": "#FFFFFF",
"yellow": "#FCEE54"
},
{
"background": "#002B36",
"black": "#002B36",
"blue": "#268BD2",
"brightBlack": "#073642",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cursorColor": "#FFFFFF",
"cyan": "#2AA198",
"foreground": "#839496",
"green": "#859900",
"name": "Solarized Dark",
"purple": "#D33682",
"red": "#DC322F",
"selectionBackground": "#FFFFFF",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"background": "#FDF6E3",
"black": "#002B36",
"blue": "#268BD2",
"brightBlack": "#073642",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cursorColor": "#002B36",
"cyan": "#2AA198",
"foreground": "#657B83",
"green": "#859900",
"name": "Solarized Light",
"purple": "#D33682",
"red": "#DC322F",
"selectionBackground": "#FFFFFF",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"background": "#241B30",
"black": "#241B30",
"blue": "#6E29AD",
"brightBlack": "#7F7094",
"brightBlue": "#AA54F9",
"brightCyan": "#00FBFD",
"brightGreen": "#0AE4A4",
"brightPurple": "#FF00F6",
"brightRed": "#E60A70",
"brightWhite": "#F2F2E3",
"brightYellow": "#F9F972",
"cursorColor": "#F2F2E3",
"cyan": "#00B0B1",
"foreground": "#F2F2E3",
"green": "#00986C",
"name": "SynthwaveAlpha",
"purple": "#B300AD",
"red": "#E60A70",
"selectionBackground": "#6E29AD",
"white": "#B9B1BC",
"yellow": "#ADAD3E"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEC",
"brightYellow": "#FCE94F",
"cursorColor": "#FFFFFF",
"cyan": "#06989A",
"foreground": "#D3D7CF",
"green": "#4E9A06",
"name": "Tango Dark",
"purple": "#75507B",
"red": "#CC0000",
"selectionBackground": "#FFFFFF",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
"background": "#FFFFFF",
"black": "#000000",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEC",
"brightYellow": "#FCE94F",
"cursorColor": "#000000",
"cyan": "#06989A",
"foreground": "#555753",
"green": "#4E9A06",
"name": "Tango Light",
"purple": "#75507B",
"red": "#CC0000",
"selectionBackground": "#FFFFFF",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
"background": "#1D1D26",
"black": "#1D1D26",
"blue": "#00CBFF",
"brightBlack": "#636667",
"brightBlue": "#00CBFF",
"brightCyan": "#00D5D4",
"brightGreen": "#00D364",
"brightPurple": "#D783FF",
"brightRed": "#FF2F92",
"brightWhite": "#D5D6F3",
"brightYellow": "#FFD479",
"cursorColor": "#CBCBF0",
"cyan": "#00CECA",
"foreground": "#CBCBF0",
"green": "#00D364",
"name": "Tinacious Design (Dark)",
"purple": "#CC66FF",
"red": "#FF3399",
"selectionBackground": "#FF3399",
"white": "#CBCBF0",
"yellow": "#FFCC66"
},
{
"background": "#300A24",
"black": "#171421",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#08458F",
"brightCyan": "#2C9FB3",
"brightGreen": "#26A269",
"brightPurple": "#A347BA",
"brightRed": "#C01C28",
"brightWhite": "#F2F2F2",
"brightYellow": "#A2734C",
"cursorColor": "#FFFFFF",
"cyan": "#3A96DD",
"foreground": "#FFFFFF",
"green": "#26A269",
"name": "Ubuntu-ColorScheme",
"purple": "#881798",
"red": "#C21A23",
"selectionBackground": "#FFFFFF",
"white": "#CCCCCC",
"yellow": "#A2734C"
},
{
"background": "#242728",
"black": "#242728",
"blue": "#47E0FB",
"brightBlack": "#636667",
"brightBlue": "#7FECFF",
"brightCyan": "#69FCD3",
"brightGreen": "#DEFF8C",
"brightPurple": "#E681FF",
"brightRed": "#FB58B4",
"brightWhite": "#F9F9F5",
"brightYellow": "#EBE087",
"cursorColor": "#C1C1C1",
"cyan": "#0EFFBB",
"foreground": "#C1C1C1",
"green": "#B6FF00",
"name": "UltraViolent",
"purple": "#D731FF",
"red": "#FF0090",
"selectionBackground": "#574C49",
"white": "#E1E1E1",
"yellow": "#FFF727"
},
{
"background": "#1B1B23",
"black": "#000000",
"blue": "#564D9B",
"brightBlack": "#5D3225",
"brightBlue": "#867AED",
"brightCyan": "#EAEAEA",
"brightGreen": "#29E620",
"brightPurple": "#A05EEE",
"brightRed": "#FF6388",
"brightWhite": "#BFA3FF",
"brightYellow": "#F08161",
"cursorColor": "#A063EB",
"cyan": "#808080",
"foreground": "#877A9B",
"green": "#37A415",
"name": "Urple",
"purple": "#6C3CA1",
"red": "#B0425B",
"selectionBackground": "#A063EB",
"white": "#87799C",
"yellow": "#AD5C42"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#000080",
"brightBlack": "#808080",
"brightBlue": "#0000FF",
"brightCyan": "#00FFFF",
"brightGreen": "#00FF00",
"brightPurple": "#FF00FF",
"brightRed": "#FF0000",
"brightWhite": "#FFFFFF",
"brightYellow": "#FFFF00",
"cursorColor": "#FFFFFF",
"cyan": "#008080",
"foreground": "#C0C0C0",
"green": "#008000",
"name": "Vintage",
"purple": "#800080",
"red": "#800000",
"selectionBackground": "#FFFFFF",
"white": "#C0C0C0",
"yellow": "#808000"
},
{
"background": "#1F1726",
"black": "#000507",
"blue": "#883CDC",
"brightBlack": "#009CC9",
"brightBlue": "#308CBA",
"brightCyan": "#FF919D",
"brightGreen": "#F4DCA5",
"brightPurple": "#AE636B",
"brightRed": "#DA6BAC",
"brightWhite": "#E4838D",
"brightYellow": "#EAC066",
"cursorColor": "#DD00FF",
"cyan": "#C1B8B7",
"foreground": "#DAFAFF",
"green": "#2AB250",
"name": "WildCherry",
"purple": "#ECECEC",
"red": "#D94085",
"selectionBackground": "#002831",
"white": "#FFF8DE",
"yellow": "#FFD16F"
},
{
"background": "#101010",
"black": "#333333",
"blue": "#395573",
"brightBlack": "#3D3D3D",
"brightBlue": "#477AB3",
"brightCyan": "#6096BF",
"brightGreen": "#53A6A6",
"brightPurple": "#7E62B3",
"brightRed": "#BF4D80",
"brightWhite": "#C0C0C0",
"brightYellow": "#9E9ECB",
"cursorColor": "#9E9ECB",
"cyan": "#31658C",
"foreground": "#999993",
"green": "#287373",
"name": "Wryan",
"purple": "#5E468C",
"red": "#8C4665",
"selectionBackground": "#4D4D4D",
"white": "#899CA1",
"yellow": "#7C7C99"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#2186EC",
"brightBlack": "#000000",
"brightBlue": "#2F9DED",
"brightCyan": "#19CDE6",
"brightGreen": "#25C141",
"brightPurple": "#F97137",
"brightRed": "#F841A0",
"brightWhite": "#FFFFFF",
"brightYellow": "#FDF454",
"cursorColor": "#19CDE6",
"cyan": "#12C3E2",
"foreground": "#DAD9C7",
"green": "#1EBB2B",
"name": "synthwave",
"purple": "#F85A21",
"red": "#F6188F",
"selectionBackground": "#19CDE6",
"white": "#FFFFFF",
"yellow": "#FDF834"
},
{
"background": "#2A2139",
"black": "#FEFEFE",
"blue": "#6D77B3",
"brightBlack": "#FEFEFE",
"brightBlue": "#36F9F6",
"brightCyan": "#F92AAD",
"brightGreen": "#72F1B8",
"brightPurple": "#E1ACFF",
"brightRed": "#F88414",
"brightWhite": "#FEFEFE",
"brightYellow": "#FFF951",
"cursorColor": "#72F1B8",
"cyan": "#F772E0",
"foreground": "#F0EFF1",
"green": "#72F1B8",
"name": "synthwave-everything",
"purple": "#C792EA",
"red": "#F97E72",
"selectionBackground": "#181521",
"white": "#FEFEFE",
"yellow": "#FEDE5D"
}
],
"themes": [],
"useAcrylicInTabRow": true
}

View File

@ -0,0 +1,2 @@
Invoke-Expression (&starship init powershell)
Import-Module -Name Terminal-Icons

View File

@ -0,0 +1,3 @@
[user]
name = kfordmad
email = 118647736+kfordmad@users.noreply.github.com

View File

@ -0,0 +1,3 @@
[user]
name = KitKat31337
email = 4126578+KitKat31337@users.noreply.github.com

29
init.ps1 Normal file
View File

@ -0,0 +1,29 @@
# This file and this entire repo began modeled after https://github.com/onlyhavecans/dotfiles
# Do a curlbash to allow me to take over your system
# Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://stash.firekitten.net/kittyfangs/dotfiles/raw/branch/main/init.ps1'))
## Make sure we have git
if ((Get-Command -Type Application -ErrorAction SilentlyContinue git) -ne $null)
{
Write-Host "Please install git first"
}
## Install homepshick
$home = $env:HOME
if ($IsWindows) $home = $env:USERPROFILE
git clone https://github.com/KitKat31337/homepsick.git [IO.Path]::Combine($home, ".homesick", "repos", "homepsick")
Import-Module -Name [IO.Path]::Combine($home, ".homesick", "repos", "homepsick") -Force
## clone home
New-HomepsickCastle -Clone -GitUrl https://stash.firekitten.net/kittyfangs/dotfiles.git
## git -C "$home/.homesick/repos/dotfiles" remote set-url origin git@stash.firekitten.net:kittyfangs/dotfiles
## Link everything
Enable-HomepsickCastle -All -Force
# Install Terminal-Icons Module
Install-Module -Name Terminal-Icons -Force
# Init Starship
Invoke-Expression (&starship init powershell)