Skip to content

Commit

Permalink
recognize xml and html also by file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
wofr06 committed Mar 26, 2024
1 parent a9751b0 commit 1dc42e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lesspipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ filetype () {
if [[ $fchar != binary ]]; then
# text only file formats
case "$fext" in
html|xml)
ftype="$fext" ;;
pod)
ftype=pod ;;
pm)
Expand Down

0 comments on commit 1dc42e0

Please sign in to comment.