From 18cc248aa2c0d7a68dfcfaa118fb950f27c860d4 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 3 Oct 2024 03:39:46 -0500 Subject: [PATCH] feat(zsh): add aliases for podman & docker --- .../.config/zsh/config/profile/profile/aliases.zsh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/users/price/dots/.config/zsh/config/profile/profile/aliases.zsh b/users/price/dots/.config/zsh/config/profile/profile/aliases.zsh index 9f0c783a..0ba604f8 100644 --- a/users/price/dots/.config/zsh/config/profile/profile/aliases.zsh +++ b/users/price/dots/.config/zsh/config/profile/profile/aliases.zsh @@ -51,6 +51,16 @@ alias gbc="git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'" fi + ### Podman ### + if command -v podman >/dev/null 2>&1; then + alias pd="podman" + fi + + ### Docker ### + if command -v docker >/dev/null 2>&1; then + alias dk="docker" + fi + ### Mac ### if [[ "$OSTYPE" = "darwin"* ]]; then alias c="pbcopy"