From f916de399c98c7c6e137263aefaba25d8679f6f9 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Mon, 18 Oct 2021 21:43:32 +0200 Subject: [PATCH] [ZSH] WSL aliases for mariadb service --- shells/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shells/zshrc b/shells/zshrc index 2535224..2ec488e 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -169,6 +169,9 @@ if [[ -n $WSL_DISTRO_NAME ]]; then export DISPLAY=$(ip route | awk '{print $3; exit}'):0 export LIBGL_ALWAYS_INDIRECT=1 + + alias mariadb-start='sudo /etc/init.d/mariadb start' + alias mariadb-stop='sudo /etc/init.d/mariadb stop' fi ################