This commit is contained in:
David Chen 2020-03-07 13:05:04 -08:00
parent 0e5c935855
commit ce07f277e1
2 changed files with 4 additions and 2 deletions

View file

@ -217,7 +217,7 @@ handle_mime() {
case "${mimetype}" in
# Text
text/* | */xml)
if command -v ccat 2>/dev/null; then
if command -v ccat &>/dev/null; then
ccat --color=always ${FILE_PATH}
exit 0
fi