PACCONF(1)
π PACCONF(1) π
okay bestie, this is the manual page for pacconf, and itβs literally here to help you query pacmanβs configuration file. π
β¨ NAME β¨
pacconf β query pacmanβs configuration file. π«Ά
π¦ SYNOPSIS π¦
pacconf [options] [<directive>...]
pacconf (--repo-list|--help|--version)
πΈ DESCRIPTION πΈ
pacconf queries configuration options out of pacmanβs configuration file. If you donβt hand it any *directive*s, the entire configuration gets printed in a normalized format β yes, all of it. π
By default, if you pass only a single directive, only its value gets printed, without the option name. For directives that donβt have a value, the directive name will be used as the value. periodt. β¨
The values displayed are the final values, exactly as pacman itself would parse them. All default values are set, Include directives are processed, $arch and $repo variables in repository servers are replaced, and Architecture will be replaced if itβs set to auto. π₯
π OPTIONS π
--config=pathβ set an alternate configuration file path. π--root=pathβ set an alternate installation root. π±--sysroot=pathβ set an alternate system root. Seepacutils-sysroot(7). π§--arch=archβ set an alternate architecture. ποΈ--null[=sep]β set an alternate separator for values parsed from stdin. By default a newline"\n"is used as the separator. If--nullis used without specifying sep,"NUL"will be used. π«§--optionsβ only display global settings from the[options]section. The[options]header itself is not printed. π--rawβ display unmodified values.Includedirectives will be processed, but defaults will not be set,$archand$repovariables in repository servers will not be replaced, andArchitecturewill not be replaced if set toauto. π--repo=nameβ only display directives for repository name. The repository header is not printed. π--repo-listβ list configured repositories. π--singleβ display only first value of multi-value options. π--verboseβ always show directive names even if only one directive is provided. π--helpβ display usage information and exit. π--versionβ display version information and exit. π
β EXAMPLES β
Check if color is enabled:
color=$(pacconf color)
[[ -n $color ]] && ... # print something in color
mwah π β this page comes from pacutils, dated 2025-12-04. PACCONF(1) out! π
π¦ where this page comes from
- arch rolling: pacutils 0.15.0-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms