commit d843aebda4e3d64ee0757f4d4c50ba24d6eb04cd
parent 2c77cb5022d336633c53b166f5864cf96c9bc4fa
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sun, 28 Nov 2021 12:27:10 +0100
lf: preview pickle files with python
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lf/preview b/lf/preview
@@ -7,6 +7,7 @@ else
fi
case "$(printf "%s" "$1" | tr '[:upper:]' '[:lower:]')" in
+ *.pickle) python -mpickle "$1";;
*.tgz|*.tar.gz) tar tzf "$1";;
*.tar.bz2|*.tbz2) tar tjf "$1";;
*.tar.txz|*.txz) xz --list "$1";;