17 lines
403 B
YAML
17 lines
403 B
YAML
|
alias: []
|
||
|
env: []
|
||
|
path: []
|
||
|
script:
|
||
|
- value: |
|
||
|
[ -f /bash/conf.d/* ] && . /bash/conf.d/* || true
|
||
|
if: match .Shell "bash"
|
||
|
- value: |
|
||
|
# Profile Files
|
||
|
$profileRoot = Split-Path -Parent $PROFILE;
|
||
|
$profilePath = "$profileRoot/profile.d/*.ps1";
|
||
|
|
||
|
if (Test-Path $profilePath) {
|
||
|
Get-Item $profilePath | ForEach-Object { . $_; };
|
||
|
}
|
||
|
if: match .Shell "pwsh"
|