Added example files for bash functions and aliases

This commit is contained in:
Alex Tavarez
2025-09-05 18:32:31 -04:00
parent b32daad6a0
commit 2e7020ee71
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#!/usr/bin/bash
# podman bash function
conman () {
if command -v podman &> /dev/null; then
CONTAINER_MANAGER="podman"
elif command -v docker &> /dev/null; then
CONTAINER_MANAGER="docker"
else
exit 1
fi
$CONTAINER_MANAGER
}