commit 2562b8b82a4fe42f58260be9a069e227156bd64f
parent b58199eae74f3389291d0dad0c3d7496284d49e5
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sat, 9 Oct 2021 12:02:14 +0200
lf: use objdump to preview object files
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lf/preview b/lf/preview
@@ -15,7 +15,7 @@ case "$(printf "%s" "$1" | tr '[:upper:]' '[:lower:]')" in
*.rar) unrar l "$1";;
*.7z) 7z l "$1";;
*.[1-8]) man "$1" | col -b ;;
- *.o) nm "$1" | less ;;
+ *.o) objdump -d "$1" ;; #nm "$1" | less ;;
# *.torrent) transmission-show "$1";;
# *.iso) iso-info --no-header -l "$1";;
*.epub|*.rtf|*.doc|*.docx|*.otd|*.ods|*.odp|*.sxw)