Better....

Better Edit-DokcerCompose (suppress errors when permissions don't allow)
Better aliases (eds and edc)
Better Git commands.
This commit is contained in:
lksz 2021-09-10 01:20:12 -04:00
parent 86fdee1acc
commit 33b4c5166b
7 changed files with 59 additions and 7 deletions

1
docker/Aliases/edc.ps1 Normal file
View file

@ -0,0 +1 @@
Edit-MyConfig

1
docker/Aliases/eds.ps1 Normal file
View file

@ -0,0 +1 @@
Edit-MyScript

View file

@ -16,7 +16,7 @@ foreach( $local:ext in @('.yml', '.yaml') ) {
$local:testPath = Join-Path $path $fileName
if( $Force -or $(Test-Path $testPath) ) {
$editFiles += $testPath | Get-Path
$editFiles += Get-ChildItem $(Join-Path $path '*') -Include $EditBonus -Depth 1 |
$editFiles += Get-ChildItem $(Join-Path $path '*') -Include $EditBonus -Depth 1 -ErrorAction SilentlyContinue |
Select-Object -ExpandProperty FullName
}
}