From e75437bcde22c62afc8090efe4d47dc53501be30 Mon Sep 17 00:00:00 2001 From: Tomasz Kapias Date: Fri, 31 Mar 2023 15:38:31 +0700 Subject: [PATCH] epylibre: sort updated --- .bashrc.d/11-functions.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc.d/11-functions.bashrc b/.bashrc.d/11-functions.bashrc index 3d37f0a..876cc0f 100644 --- a/.bashrc.d/11-functions.bashrc +++ b/.bashrc.d/11-functions.bashrc @@ -774,7 +774,7 @@ if command -v epy 1> /dev/null; then fi echo "${_METADATA[2]}|${_METADATA[3]}|${_METADATA[1]}|${_METADATA[0]}|${_REALFILE}" done \ - | sort --field-separator '|' --key=3 --key=2 --key=1 --ignore-case --ignore-leading-blanks \ + | sort --field-separator '|' --key=3,3 --key=2,2n --key=1,1 --ignore-case --ignore-leading-blanks \ | column --output-separator ' ' --separator '|' --table --table-columns 'Serie-------------->,Index,Author-------------->,Title,File' --table-columns-limit 5 --table-truncate 1,3 \ | fzf --no-mouse --cycle --reverse --no-hscroll --header-lines=1 --prompt "Choose an EPUB book to read with epy > " \ | awk -F '\t' '{print $NF}')