Preview-tui restore current working directory

This commit is contained in:
Luuk van Baal 2023-02-17 01:45:17 +01:00
parent ade477e705
commit fc26493602
No known key found for this signature in database
GPG Key ID: E7D1BC845D39FA83
1 changed files with 1 additions and 0 deletions

View File

@ -344,6 +344,7 @@ preview_file() {
else
fifo_pager ls -F --group-directories-first --color=always
fi
cd ..
elif [ "${encoding#*)}" = "binary" ]; then
handle_mime "$1" "$mimetype" "$ext" "bin"
else