From cc74c7adb0a5fc4a3b90d3ea43424123f0acde44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Fri, 8 Mar 2024 22:38:15 +0100 Subject: sh: move from ~/.local/lib/sh to ~/.local/share/sh It's debatable but ultimately it *is* arch-independent and ro. --- dot_local/share/sh/docker | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 dot_local/share/sh/docker (limited to 'dot_local/share/sh/docker') diff --git a/dot_local/share/sh/docker b/dot_local/share/sh/docker new file mode 100644 index 0000000..a7ccf0a --- /dev/null +++ b/dot_local/share/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