Skip to content

Commit c1820ee

Browse files
committed
⚙️ config: add docker as alias for podman if installed
1 parent a5359a9 commit c1820ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dotposh/Config/posh-aliases.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,8 @@ function Get-PnpmGlobalPackages { (pnpm ls -g | Select-Object -Skip 5) | ForEach
178178
Set-Alias -Name 'npm-ls' -Value 'Get-NpmGlobalPackages'
179179
Set-Alias -Name 'bun-ls' -Value 'Get-BunGlobalPackages'
180180
Set-Alias -Name 'pnpm-ls' -Value 'Get-PnpmGlobalPackages'
181+
182+
## Podman ##
183+
if (Get-Command podman -ErrorAction SilentlyContinue) {
184+
Set-Alias -Name 'docker' -Value 'podman'
185+
}

0 commit comments

Comments
 (0)