This repository has been archived on 2021-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/home/.zshrc.docker

36 lines
553 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Docker function definitions
function speedtest() {
docker run --rm tianon/speedtest
}
function vobsub2srt() {
docker run \
--rm \
-v $PWD:/data \
-u $(id -u) \
sbruder/vobsub2srt \
--blacklist '„“”|/\`_~<>' \
$@
}
function aucdtect() {
docker run \
--rm \
-v "$PWD:/home/aucdtect/:ro" \
-e uid=$(id -u) \
-e gid=$(id -g) \
sbruder/aucdtect \
$@
}
function unrar () {
docker run \
--rm \
-v "$PWD:/data" \
-w /data \
-u $(id -u) \
r.sbruder.de/unrar \
$@
}