From 8858ab5aef1ceb64a96b824c1efca1c2fc8ce616 Mon Sep 17 00:00:00 2001 From: lvlcn-t <75443136+lvlcn-t@users.noreply.github.com> Date: Wed, 13 Mar 2024 20:10:26 +0100 Subject: [PATCH] fix: set python aliases for ubuntu 22.04 --- dot_zshrc.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 5aea06a..f4f061b 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -190,7 +190,7 @@ export https_proxy={{ .proxy.https }} export no_proxy={{ .proxy.noProxy }} {{- end }} -{{- if and (eq .chezmoi.osRelease.id "ubuntu") (eq .chezmoi.osRelease.versionID "20.04") }} +{{- if and (eq .chezmoi.osRelease.id "ubuntu") ( or (eq .chezmoi.osRelease.versionID "20.04") (eq .chezmoi.osRelease.versionID "22.04")) }} python_version="3.12" if command -v python${python_version} &> /dev/null then