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}')