dotfiles

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

commit 1444d8ccd2e5dad3dd11898f112f51f4fbbb0eed
parent 7eef9d603214cf2f90d7b782a6d0009edeec11e0
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Mon, 22 Nov 2021 19:07:19 +0100

lf: preview Anki files like zips (because that's what they are)

Diffstat:
Mlf/preview | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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