From cf5508143a288c8b68660463e5f56b178c86e546 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 3 Oct 2024 15:11:29 +0100 Subject: [PATCH] [file_previewer.sh]: Never wrap lines of CSV previews (breaks formatting) --- file_previewer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file_previewer.sh b/file_previewer.sh index 5cbe9e7..484d4ce 100755 --- a/file_previewer.sh +++ b/file_previewer.sh @@ -57,7 +57,7 @@ case "$mimetype" in exiftool "$file" | bat --theme='base16' --terminal-width "$(($width-4))" --force-colorization;; text/csv) - column --separator "," --table "$file" | bat --theme='base16' --terminal-width "$(($width-4))" --force-colorization;; + column --separator "," --table "$file" | bat --theme='base16' --terminal-width "$(($width-4))" --force-colorization --wrap=never;; text/html) lynx -width="$width" -display_charset=utf-8 -dump "$file";;