zsh: Add ctop docker function

This commit is contained in:
Simon Bruder 2020-05-22 13:27:53 +02:00
parent 6b94c2a7d0
commit 17f7acafad
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -134,3 +134,12 @@ function aegisub() {
r.sbruder.de/aegisub \
$@
}
function ctop {
docker run \
--rm \
-it \
--name=ctop \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
quay.io/vektorlab/ctop
}