diff --git a/dot_bashrc.d/executable_09.functions b/dot_bashrc.d/executable_09.functions.tmpl similarity index 94% rename from dot_bashrc.d/executable_09.functions rename to dot_bashrc.d/executable_09.functions.tmpl index bf1e9b4..3b47f4a 100755 --- a/dot_bashrc.d/executable_09.functions +++ b/dot_bashrc.d/executable_09.functions.tmpl @@ -113,4 +113,12 @@ list-ssh-keys() { done } +{{- if eq .chezmoi.osRelease.id "debian" }} +debversion() { + local pkgname="${1:?packagename required}" + dpkg -s $pkgname | grep Version +} +{{- end }} + + PATH=$PATH:$HOME/bin