Bat como file previewer
This commit is contained in:
parent
ba48434174
commit
b3f3ab3043
|
@ -6,7 +6,7 @@ case "$(file -Lb --mime-type -- "$1")" in
|
|||
exit 1
|
||||
;;
|
||||
*)
|
||||
cat "$1"
|
||||
bat -f --style plain --theme gruvbox-dark "$1"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in a new issue