From 6a7b0381572a1dda27ae25efe46c303ca1f786dc Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 20 Mar 2024 23:57:48 +0100 Subject: [PATCH] Rename PowerShell config directory to `conf.d` --- scripts/Common/Config/aliae/aliae.yml | 4 ++-- scripts/Common/Config/powershell/lib.ps1 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/Common/Config/aliae/aliae.yml b/scripts/Common/Config/aliae/aliae.yml index c40688a3..2c7feeeb 100644 --- a/scripts/Common/Config/aliae/aliae.yml +++ b/scripts/Common/Config/aliae/aliae.yml @@ -13,8 +13,8 @@ script: # Profile Files $profileRoot = Split-Path -Parent $PROFILE; $profilePaths = @( - "$profileRoot/profile.d/*.ps1", - "{{ if eq .OS "windows" }}$env:ProgramData{{ else }}/etc{{ end }}/powershell/profile.d/*.ps1" + "$profileRoot/conf.d/*.ps1", + "{{ if eq .OS "windows" }}$env:ProgramData{{ else }}/etc{{ end }}/powershell/conf.d/*.ps1" ); foreach ($profilePath in $profilePaths) { diff --git a/scripts/Common/Config/powershell/lib.ps1 b/scripts/Common/Config/powershell/lib.ps1 index d3415674..506aa9a9 100644 --- a/scripts/Common/Config/powershell/lib.ps1 +++ b/scripts/Common/Config/powershell/lib.ps1 @@ -58,7 +58,7 @@ $null = New-Module { $Overwrite = $true; } - $profiles = $profiles | ForEach-Object { Join-Path (Split-Path -Parent $_) "profile.d" "$Category.ps1"; }; + $profiles = $profiles | ForEach-Object { Join-Path (Split-Path -Parent $_) "conf.d" "$Category.ps1"; }; } $profiles | ForEach-Object {