Terminal-Icons hinzugefügt
This commit is contained in:
17
config.ps1
17
config.ps1
@@ -235,13 +235,28 @@ function InstallSoftware {
|
||||
|
||||
Write-Host "Beginne mit der Insallation des Powershell Update Modul..." -ForegroundColor Blue
|
||||
Try {
|
||||
Install-Module Install-Module PSReadLine -Force
|
||||
Install-Module PSReadLine -Force
|
||||
Write-Host "Powershell update Modul erfolgreich installiert..." -ForegroundColor Green
|
||||
}
|
||||
Catch {
|
||||
Write-Host "Fehler beim installieren des Powershell update Modul." -ForegroundColor Red
|
||||
}
|
||||
}
|
||||
# Powershell Modul für Terminal Icons
|
||||
if (Get-Module -ListAvailable -Name Terminal-Icons ) {
|
||||
Write-Hoste "Terminal-Icons Powershell Modul ist bereits installiert." -ForegroundColor Blue
|
||||
}
|
||||
else {
|
||||
|
||||
Write-Host "Beginne mit der Insallation des Terminal-Icons Modul..." -ForegroundColor Blue
|
||||
Try {
|
||||
Install-Module Terminal-Icons -Force
|
||||
Write-Host "Terminal-Icons Modul erfolgreich installiert..." -ForegroundColor Green
|
||||
}
|
||||
Catch {
|
||||
Write-Host "Fehler beim installieren des Terminal-Icons Modul." -ForegroundColor Red
|
||||
}
|
||||
}
|
||||
# Powershell Modul für Updates
|
||||
if (Get-Module -ListAvailable -Name PSWindowsUpdate) {
|
||||
Write-Hoste "Windows Update Powershell Modul ist bereits installiert." -ForegroundColor Blue
|
||||
|
||||
@@ -2,5 +2,9 @@
|
||||
Get-ChildItem ~/.winconfig/functions.ps1 | %{. $_ } | out-null
|
||||
Get-ChildItem ~/.winconfig/aliases.ps1 | %{. $_ } | out-null
|
||||
|
||||
|
||||
|
||||
# Lädt oh-my-posh
|
||||
oh-my-posh --init --shell pwsh --config ~/AppData/Local/Programs/oh-my-posh/themes/powerlevel10k_rainbow.omp.json | Invoke-Expression
|
||||
# Lädt Terminal-Icons
|
||||
Import-Module -Name Terminal-Icons
|
||||
|
||||
Reference in New Issue
Block a user