From 36500b5c9b46fe0bf01d114d91301a1ab9c746b5 Mon Sep 17 00:00:00 2001 From: Chloe Kudryavtsev Date: Sun, 10 Apr 2022 20:19:59 -0400 Subject: do you understand the sheer level of cursedness this is? I thought not --- dot_local/lib/sh/docker | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 dot_local/lib/sh/docker (limited to 'dot_local/lib/sh/docker') diff --git a/dot_local/lib/sh/docker b/dot_local/lib/sh/docker new file mode 100644 index 0000000..a7ccf0a --- /dev/null +++ b/dot_local/lib/sh/docker @@ -0,0 +1,9 @@ +if . hascmd podman; then + alias docker=podman +elif . hascmd docker; then +else + return +fi + +alias dit='docker run -it --rm' +alias drun='dit -v "$(pwd)":/pwd:Z -w /pwd' -- cgit v1.2.3