Hi. I was checking out EndeavourOS in a VM and noticed that the bash shell offers a certain coloring scheme when using pacman, yay etc. commands. E.g. -
Can I enable such thing in Manjaro?
Hi. I was checking out EndeavourOS in a VM and noticed that the bash shell offers a certain coloring scheme when using pacman, yay etc. commands. E.g. -
Hi! You have to uncomment the line beginning with Color
in the file /etc/pacman.conf
to achieve colorful output of pacman
(Arch Wiki article).
The colors will be picked up from the color scheme you’re using for your terminal emulator.
### Pamac configuration file
## When removing a package, also remove those dependencies
## that are not required by other packages (recurse option):
#RemoveUnrequiredDeps
## How often to check for updates, value in hours (0 to disable):
RefreshPeriod = 6
## When no update is available, hide the tray icon:
#NoUpdateHideIcon
## When applying updates, enable packages downgrade:
#EnableDowngrade
## When installing packages, do not check for updates:
#SimpleInstall
## Allow Pamac to search and install packages from AUR:
EnableAUR
## Keep built packages from AUR in cache after installation:
KeepBuiltPkgs
## When AUR support is enabled check for updates from AUR:
CheckAURUpdates
## When check updates from AUR support is enabled check for vcs updates:
#CheckAURVCSUpdates
## AUR build directory:
BuildDirectory = /var/tmp
## Number of versions of each package to keep when cleaning the packages cache:
KeepNumPackages = 3
## Remove only the versions of uninstalled packages when cleaning the packages cache:
#OnlyRmUninstalled
## Download updates in background:
#DownloadUpdates
## Maximum Parallel Downloads:
MaxParallelDownloads = 4
#CheckFlatpakUpdates
#EnableSnap
#EnableFlatpak
This is the pacman configuration file. But there is no Color
line.
This is the configuration file of Pamac (not pacman
). Open the file /etc/pacman.conf
to find the said option.
My bad . Uncomented
Color
line in /etc/pacman.conf
and colouring is here. But what about yay?
P.S. - It is applied to yay
too.
I think it will apply to yay
also.
Sorry . Yes, it did. Thanks a lot
.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.