make glow use configuration file
This commit is contained in:
parent
06a64c8e08
commit
6d79423c0f
|
@ -39,7 +39,7 @@ batorcat() {
|
|||
CACHE="$HOME/.cache/lf/thumbnail.$(stat --printf '%n\0%i\0%F\0%s\0%W\0%Y' -- "$(readlink -f "$1")" | sha256sum | awk '{print $1}'))"
|
||||
|
||||
case "$(printf "%s\n" "$(readlink -f "$1")" | awk '{print tolower($0)}')" in
|
||||
*.md) glow -s dark "$1" && exit 0 ;;
|
||||
*.md) glow "$1" && exit 0 ;;
|
||||
*.xml|*.html) w3m -dump "$1" && exit 0 ;;
|
||||
*.[1-8]) man "$1" | col -b && exit 0 ;;
|
||||
*.o) nm "$1" && exit 0 ;;
|
||||
|
|
Loading…
Reference in New Issue