From 7733f510ec997ebd40b4aee35c47f77700e736f5 Mon Sep 17 00:00:00 2001 From: Andrey Arapov Date: Sat, 30 Apr 2016 21:09:12 +0200 Subject: [PATCH] update README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index e34973e..69b8a02 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,13 @@ docker-compose run --rm tor ``` +You can use the following shortcut function and place it to your `~/.bash_aliases` file + +``` +function docker_helper() { (cd ~/docker/$1; docker-compose run --rm "$@" & disown) } +function tor() { (docker_helper $FUNCNAME $@) } +``` + ### with Docker ```