dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit a494df4f43099682be8f4b0f0e32fd22ed7b1483
parent 21feb60c176d6529472285bfbd6078d85451ab42
Author: Alexander Balgavy <alexander.balgavy@spaceapplications.com>
Date:   Fri, 27 Oct 2023 20:17:40 +0200

lf: preview deb packages

Diffstat:
Mlf/preview | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lf/preview b/lf/preview @@ -11,6 +11,7 @@ case "$(printf "%s" "$1" | tr '[:upper:]' '[:lower:]')" in *.tgz|*.tar.gz) tar tzf "$1";; *.tar.bz2|*.tbz2) tar tjf "$1";; *.tar.txz|*.txz) xz --list "$1";; + *.deb) dpkg -c "$1";; *.tar) tar tf "$1";; *.zip|*.jar|*.war|*.ear|*.oxt|*.apkg|*.apk) unzip -l "$1";; *.rar) unrar l "$1";;