Skip to content

Commit

Permalink
added powershell profile config
Browse files Browse the repository at this point in the history
  • Loading branch information
BIGboss248 committed Oct 30, 2024
1 parent a421502 commit a9cd5fd
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 8 deletions.
25 changes: 25 additions & 0 deletions .configuration/configuration.dsc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
properties:
configurationVersion: 0.2.0
resources:
- resource: Install-Module
directives:
allowPrerelease: true
settings:
Name: "Microsoft.WinGet.DSC"
RequiredVersion: "1.9.2411"
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install Python 3.12
allowPrerelease: true
settings:
id: Python.Python.3.12
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: npm
directives:
description: Install Node version 8+
allowPrerelease: true
settings :
id: OpenJS.NodeJS
source: winget
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"yaml.schemas": {
"https://aka.ms/configuration-dsc-schema/0.2": "file:///d%3A/OneDrive/My%20Software/Choclatey-Starship-Fonts/.configuration/configuration.dsc.yaml"
}
}
53 changes: 45 additions & 8 deletions Programming_essentials.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,52 @@
"UpdatesIgnored": false,
"IgnoredVersion": ""
}
},
{
"Id": "nerd-fonts-Hack",
"Name": "Nerd Fonts Hack",
"Version": "3.1.1",
"Source": "community",
"ManagerName": "Chocolatey",
"InstallationOptions": {
"SkipHashCheck": false,
"InteractiveInstallation": false,
"RunAsAdministrator": false,
"Architecture": "",
"InstallationScope": "",
"CustomParameters": [],
"PreRelease": false,
"CustomInstallLocation": "",
"Version": ""
},
"Updates": {
"UpdatesIgnored": false,
"IgnoredVersion": ""
}
},
{
"Id": "Kubernetes.minikube",
"Name": "Kubernetes - Minikube - A Local Kubernet\u2026",
"Version": "1.32.0",
"Source": "winget",
"ManagerName": "Winget",
"InstallationOptions": {
"SkipHashCheck": false,
"InteractiveInstallation": false,
"RunAsAdministrator": false,
"Architecture": "",
"InstallationScope": "",
"CustomParameters": [],
"PreRelease": false,
"CustomInstallLocation": "",
"Version": ""
},
"Updates": {
"UpdatesIgnored": false,
"IgnoredVersion": ""
}
}
],
"incompatible_packages_info": "Incompatible packages cannot be installed from WingetUI, but they have been listed here for logging purposes.",
"incompatible_packages": [
{
"Id": "PythonSoftwareFoundation.Python.3.12_qb\u2026",
"Name": "Python 3.12",
"Version": "3.12.752.0",
"Source": "Microsoft Store"
}
]
"incompatible_packages": []
}
11 changes: 11 additions & 0 deletions starship/Microsoft.PowerShell_profile.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
$ENV:STARSHIP_CONFIG = "C:\Users\aminj\OneDrive\My Software\Choclatey-Starship-Fonts\starship\starship.toml"
Invoke-Expression (&starship init powershell)
# Import the Chocolatey Profile that contains the necessary code to enable
# tab-completions to function for `choco`.
# Be aware that if you are missing these lines from your profile, tab completion
# for `choco` will not function.
# See https://ch0.co/tab-completion for details.
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
if (Test-Path($ChocolateyProfile)) {
Import-Module "$ChocolateyProfile"
}

0 comments on commit a9cd5fd

Please sign in to comment.