diff options
| author | 2022-04-10 20:19:59 -0400 | |
|---|---|---|
| committer | 2022-04-10 20:19:59 -0400 | |
| commit | 36500b5c9b46fe0bf01d114d91301a1ab9c746b5 (patch) | |
| tree | b0f804063c0b5d6f4c69e2f6e5069cfdc3923b45 /dot_local/lib/sh/docker.fish | |
| parent | this is cursed and I am not sorry (diff) | |
do you understand the sheer level of cursedness this is?
I thought not
Diffstat (limited to 'dot_local/lib/sh/docker.fish')
| -rw-r--r-- | dot_local/lib/sh/docker.fish | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dot_local/lib/sh/docker.fish b/dot_local/lib/sh/docker.fish new file mode 100644 index 0000000..e04437b --- /dev/null +++ b/dot_local/lib/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' |
