1. Show the root/admin icon and the current folder name in console title
2. Update the background color of behind status in git segment
3. Update the git_icon, branch_identical_icon and branch_gone_icon in git segment
BREAKING CHANGE: adjusts the way some segment work for templates.
Mapping the var names as following will resolve the issue.
- session/title/general purpose
- .Host -> .HostName
- .User -> .UserName
- az
- .UserName -> .Name
- kubectl
- .UserName -> .User
simplify config definition, requires one prop to define path and key
add variant return type
add template-accessible query functions on the segment for advanced use
* feat(plastic): added Plastic SCM segment
* refactor(plastic): polished new Plastic SCM segment
* refactor: moved common scm segment code into base type
git and plastic share some common methods and status properties. So moving them in a base type keeps the code base DRY
* doc(plastic): Added docs for manual testing Plastic SCM
* fix(plastic): Show files with merge conflicts as unmerged
* fix(plastic): adhere to empty string check guidelines
* fix(plastic): fixed linter errors
* fix(pwsh): alert when we can't download dependencies
resolves#1382
* refactor(plastic): polished new Plastic SCM segment
* refactor: moved common scm segment code into base type
git and plastic share some common methods and status properties
* docs(plastic): added docs for manual testing Plastic SCM
* fix(plastic): show files with merge conflicts as unmerged
* fix(plastic): adhere to empty string check guidelines
* fix(plastic): fixed linter errors
Co-authored-by: Jan De Dobbeleer <jan.de.dobbeleer@gmail.com>
Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
this theme is a bit special and needs the following in your
PowerShell profile to work correctly:
function Set-EnvVars {
$now = [DateTime]::Now
$env:DAYS = ([Datetime](“12/25/” + $now.Year) – $Now).Days
}
New-Alias -Name 'Set-PoshContext' -Value 'Set-EnvVars' -Scope Global -Force
happy holidays!