diff options
Diffstat (limited to 'xchangelog')
-rwxr-xr-x | xchangelog | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xchangelog b/xchangelog index 0fb08d4..def9fe1 100755 --- a/xchangelog +++ b/xchangelog @@ -31,6 +31,8 @@ elif curl -sLI -w "%{content_type}" -o /dev/null -- "$changelog" | grep -qi "^te curl -sL -- "$changelog" | "$PAGER" elif [[ "$changelog" = *".md" ]] && type mdless >/dev/null; then curl -sL -- "$changelog" | mdless + elif [[ "$changelog" = *".rst" ]] && type rst2ansi >/dev/null; then + curl -sL -- "$changelog" | rst2ansi | less -r elif type less >/dev/null; then curl -sL -- "$changelog" | less else |