From b551ab27e527310e1437834548130940173fb55d Mon Sep 17 00:00:00 2001 From: Emanuele Panzeri Date: Fri, 13 Oct 2023 09:55:03 +0200 Subject: [PATCH 1/2] Update README.md Document how to override the default configurations by using `~/.config/paru/paru.conf` --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index d17fa854..1209e06d 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,24 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md). `paru -Ui` -- Build and install a PKGBUILD in the current directory. +## Default Configuration + +Paru will read `/etc/paru.conf` or `~/.config/paru/paru.conf` (if available) to load the default configuration. +See the default configuration [paru.conf](./paru.conf) as a reference. + +To override the default configuration, create the `~/config/paru/paru.conf` file and configure it according to your needs. +Example: +``` +# file: ~/.config/paru/paru.conf +[options] +# Enable "Refresh then perform the repo and AUR upgrade together" (--combinedupgrade) +CombinedUpgrade +# Enable "Show interactive menu to skip upgrades" (--upgrademenu) +UpgradeMenu +# Enable "Print new news during sysupgrade" (--newsonupgrade) +NewsOnUpgrade +``` + ## IRC Paru now has an IRC. #paru on [Libera Chat](https://libera.chat/). Feel free to join for discussion and help with paru. From 1d8d00a009badc23e36172c05d71f4d98823b31a Mon Sep 17 00:00:00 2001 From: Emanuele Panzeri Date: Mon, 26 Feb 2024 08:55:42 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/README.md b/README.md index 1209e06d..a2832aaf 100644 --- a/README.md +++ b/README.md @@ -66,20 +66,7 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md). ## Default Configuration Paru will read `/etc/paru.conf` or `~/.config/paru/paru.conf` (if available) to load the default configuration. -See the default configuration [paru.conf](./paru.conf) as a reference. - -To override the default configuration, create the `~/config/paru/paru.conf` file and configure it according to your needs. -Example: -``` -# file: ~/.config/paru/paru.conf -[options] -# Enable "Refresh then perform the repo and AUR upgrade together" (--combinedupgrade) -CombinedUpgrade -# Enable "Show interactive menu to skip upgrades" (--upgrademenu) -UpgradeMenu -# Enable "Print new news during sysupgrade" (--newsonupgrade) -NewsOnUpgrade -``` +See the Paru's man page `man paru` for the configuration details, or the default [paru.conf](./paru.conf) configuration as a reference. ## IRC