From c9eb607dbc5eb299122dae34f8c3f21dcd64038f Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Tue, 17 Jan 2023 22:59:44 +0100 Subject: [PATCH] Run hugo via docker --- .zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zshrc b/.zshrc index 4d24535..c1e7376 100644 --- a/.zshrc +++ b/.zshrc @@ -178,6 +178,10 @@ alias e="$EDITOR" alias o='handlr open' alias vs="nvim -S Session.vim" +# Yes I know this is a bad idea +# also I don't care. +alias hugo='docker run -v "$PWD:/src" -w "/src" -u $UID:$GID -p 1313:1313 --rm klakegg/hugo:alpine' + # Simple calculator function calc() { local result=""