Better....
Better Edit-DokcerCompose (suppress errors when permissions don't allow) Better aliases (eds and edc) Better Git commands.
This commit is contained in:
parent
86fdee1acc
commit
33b4c5166b
7 changed files with 59 additions and 7 deletions
1
docker/Aliases/edc.ps1
Normal file
1
docker/Aliases/edc.ps1
Normal file
|
@ -0,0 +1 @@
|
|||
Edit-MyConfig
|
1
docker/Aliases/eds.ps1
Normal file
1
docker/Aliases/eds.ps1
Normal file
|
@ -0,0 +1 @@
|
|||
Edit-MyScript
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue