A lot of changes
+ PowerLine prompt now shows degraded systemctl state (When Apllicable) + Get-PlexInfo notifies if PLEX creds are needed and are missing + XDG env are setup if missing on linux + vi/vim command will launch editor, but prefer vi/vim/nvim if exists + new chezmoi package: auto loading completion + new flatpak package: List and Kill commands added + new zfs package: zls command added
This commit is contained in:
parent
cdabbc7858
commit
4bf2ff19f4
15 changed files with 188 additions and 42 deletions
|
@ -34,6 +34,14 @@ $local:MyPowerLineSetup = [ordered]@{
|
|||
Prompt = @(
|
||||
{ Write-Host "" } # A spaced line without a ColorSeparator
|
||||
{ New-PromptText -EBg VioletRed4 $MyInvocation.HistoryId }
|
||||
{
|
||||
if( Get-Command systemctl -ErrorAction Ignore ) {
|
||||
$local:systemState = systemctl is-system-running
|
||||
if( $systemState -ine 'RUNNING') {
|
||||
New-PromptText -BackgroundColor VioletRed4 $systemState
|
||||
}
|
||||
}
|
||||
}
|
||||
{ Get-SegmentedPath -LengthLimit 37 }
|
||||
{ Write-VcsStatus }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue