diff --git a/dot_bashrc.d/executable_09.functions.tmpl b/dot_bashrc.d/executable_09.functions.tmpl index d8598bd..a727e1b 100755 --- a/dot_bashrc.d/executable_09.functions.tmpl +++ b/dot_bashrc.d/executable_09.functions.tmpl @@ -114,10 +114,17 @@ list-ssh-keys() { } {{- if (or (eq .chezmoi.osRelease.id "debian") (eq .chezmoi.osRelease.id "linuxmint")) }} +# Show version of a Debian package debversion() { local pkgname="${1:?packagename required}" dpkg -s $pkgname | grep Version } + +# Show files of a Debian package +deblist() { + local pkgname="${1:?packagenamme required}" + dpkg-query -L $pkgname +} {{- end }}