From d458fc068825e5efae8410beae7f56aeeaa917c5 Mon Sep 17 00:00:00 2001 From: Joachim Nielandt Date: Mon, 15 Mar 2021 16:15:48 +0100 Subject: [PATCH] Added microsoft-standard to .zshrc template (other osrelease option for WSL) --- dot_zshrc.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index a4a5d77..ac9af55 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -13,7 +13,7 @@ done # Path to your oh-my-zsh installation. # WSL2 would be Ubuntu, ohmyzsh is installed in userfolder -{{ if (contains "WSL2" .chezmoi.kernel.osrelease) }} +{{ if or (contains "WSL2" .chezmoi.kernel.osrelease) (contains "microsoft-standard" .chezmoi.kernel.osrelease) }} ZSH=~/.oh-my-zsh/ {{ else }} ZSH=/usr/share/oh-my-zsh/