diff --git a/README.rst b/README.rst index c1d8c19d..efe893b8 100644 --- a/README.rst +++ b/README.rst @@ -798,6 +798,16 @@ Force colorizing and formatting, and show both the request and the response in The ``-R`` flag tells ``less`` to interpret color escape sequences included HTTPie`s output. +You can create a shortcut for invoking HTTPie with colorized and paged output +by adding the following to your `~/.bash_profile`: + +.. code-block:: bash + + function httpless { + # `httpless example.org' + http --pretty=all "$@" | less -R; + } + ================== Streamed Responses