PortValhalla/scripts/Common/Software/aliae/aliae.yml

23 lines
677 B
YAML
Raw Normal View History

2024-03-20 21:43:38 +00:00
alias:
- name: totsch
value: git
2024-03-20 21:42:38 +00:00
env:
2024-03-20 19:51:15 +00:00
- name: POSH_THEME
2024-03-23 03:56:49 +00:00
value: '{{ if eq .OS "windows" }}{{ .Home }}/Nextcloud/.omp{{ else }}/usr/local/share/oh-my-posh/themes{{ end }}/manuel.omp.json'
2024-03-20 15:00:44 +00:00
path: []
script:
- value: |
# Profile Files
$profileRoot = Split-Path -Parent $PROFILE;
$profilePaths = @(
"$profileRoot/conf.d/*.ps1",
"{{ if eq .OS "windows" }}$env:ProgramData{{ else }}/etc{{ end }}/powershell/conf.d/*.ps1"
);
2024-03-20 15:00:44 +00:00
foreach ($profilePath in $profilePaths) {
if (Test-Path $profilePath) {
Get-Item $profilePath | ForEach-Object { . $_; };
}
2024-03-20 15:00:44 +00:00
}
if: match .Shell "pwsh"