diff --git a/home/dot_zimrc.tmpl b/home/dot_zimrc.tmpl index 9be7d25..2a559ec 100644 --- a/home/dot_zimrc.tmpl +++ b/home/dot_zimrc.tmpl @@ -36,8 +36,14 @@ zmodule git zmodule termtitle # Provides archive and unarchive functions for easy archive manipulation. zmodule archive -# Manjaro aliases and functions. +# Distribution aliases and functions. +{{ if (eq .chezmoi.osRelease.id "manjaro") -}} zmodule manjaro +{{ else if (eq .chezmoi.osRelease.id "arch") -}} +zmodule pacman +{{ else if (eq .chezmoi.osRelease.id "debian" "ubuntu") -)}} +zmodule debian +{{- end }} # Personal aliases zmodule jl-helper # sudo module