Add less not always paging to the faq

This commit is contained in:
morganamilo 2018-06-04 19:22:16 +01:00
parent a71784684c
commit 63509365c1
No known key found for this signature in database
GPG key ID: 6FE9E7996B0B082E

View file

@ -93,6 +93,12 @@ Currently yay Depends on:
* Yay does not display colored output. How do I fix it? * Yay does not display colored output. How do I fix it?
Make sure you have the `Color` option in your `/etc/pacman.conf` [#123](https://github.com/Jguer/yay/issues/123) Make sure you have the `Color` option in your `/etc/pacman.conf` [#123](https://github.com/Jguer/yay/issues/123)
* Sometimes diffs are printed to the terminal and other times they are pages
via less. How do I fix this?
Yay uses `git diff` to display diffs, by default git tells less to not page
if the output can fit one terminal length. This can be overridden by
exporting your own flags `export LESS=SRX`.
## Examples of Custom Operations ## Examples of Custom Operations
* `yay <Search Term>` presents package selection menu * `yay <Search Term>` presents package selection menu