Skip to content

Commit

Permalink
fix: set python aliases for ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
lvlcn-t committed Mar 13, 2024
1 parent 1eca941 commit 8858ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot_zshrc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8858ab5

Please sign in to comment.