PortValhalla/scripts/Common/Config/aliae/aliae.yml

26 lines
854 B
YAML

alias:
- name: totsch
value: git
env:
- name: POSH_THEME
value: |
{{ if eq .OS "windows" }}{{ .Home }}/.mnt/Nextcloud/.omp{{ else }}/usr/local/share/oh-my-posh/themes{{ end }}/manuel.omp.json
path: []
script:
- value: |
[ -n "$(bash -c 'shopt -s nullglob; echo {/etc,~/.config}/bash/conf.d/*')" ] && . {/etc,~/.config}/bash/conf.d/* || true
if: match .Shell "bash"
- value: |
# Profile Files
$profileRoot = Split-Path -Parent $PROFILE;
$profilePaths = @(
"$profileRoot/profile.d/*.ps1",
"{{ if eq .OS "windows" }}C:/ProgramData{{ else }}/etc{{ end }}/powershell/profile.d"
);
foreach ($profilePath in $profilePaths) {
if (Test-Path $profilePath) {
Get-Item $profilePath | ForEach-Object { . $_; };
}
}
if: match .Shell "pwsh"