summaryrefslogtreecommitdiff
path: root/dot_local/share/sh/docker.fish
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2024-03-08 22:38:15 +0100
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2024-03-08 22:38:15 +0100
commitcc74c7adb0a5fc4a3b90d3ea43424123f0acde44 (patch)
tree01c5f4be74233b585da451a580fee237d1aba21c /dot_local/share/sh/docker.fish
parentgit: difftastic is optional, add local.config (diff)
sh: move from ~/.local/lib/sh to ~/.local/share/sh
It's debatable but ultimately it *is* arch-independent and ro.
Diffstat (limited to '')
-rw-r--r--dot_local/share/sh/docker.fish9
1 files changed, 9 insertions, 0 deletions
diff --git a/dot_local/share/sh/docker.fish b/dot_local/share/sh/docker.fish
new file mode 100644
index 0000000..e04437b
--- /dev/null
+++ b/dot_local/share/sh/docker.fish
@@ -0,0 +1,9 @@
+if . hascmd podman
+ alias docker=podman
+else if . hascmd docker
+else
+ return
+end
+
+alias dit='docker run -it --rm'
+alias drun='dit -v (pwd):/pwd:Z -w /pwd'