zsh: Add ctop docker function
This commit is contained in:
parent
6b94c2a7d0
commit
17f7acafad
|
@ -134,3 +134,12 @@ function aegisub() {
|
||||||
r.sbruder.de/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
|
||||||
|
}
|
||||||
|
|
Reference in a new issue