From cae0baec32bfde295ad58e003268f09a23f9bbdf Mon Sep 17 00:00:00 2001 From: Tim van Veenendaal Date: Fri, 11 Dec 2020 17:36:41 +0100 Subject: [PATCH] docker --- zsh/.zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 33620a2..a08c9d2 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -146,7 +146,8 @@ done export KUBECONFIG if [ $commands[kubectl] ]; then source <(kubectl completion zsh); fi -alias ltd='docker exec -it lt-dev /bin/bash' +alias ltd='docker exec -it lt-dev sudo -Hu www-data /bin/bash' +alias ltdr='docker exec -it lt-dev /bin/bash' alias ltdf='docker exec -it lt-dev-2004 /bin/bash' alias lt-dd-f='docker exec -it lt-dev-2004 lt-dd' alias lt-dd-cms='lt-dd project:execute -p mpm-cms -n -- '