Just put a function in one of your bash files. Something like
pacman() {
[[ $@ =~ -[RSU] ]] && set -- "$@" --noprogressbar
command pacman "$@"
}
Question
I see
pacman
has this option
--noprogressbar do not show a progress bar when downloading files
That applies to pacman -S
pacman -R
pacman -U
. However I would like to always use this option when appropriate. Is that possible?
La solution
Just put a function in one of your bash files. Something like
pacman() {
[[ $@ =~ -[RSU] ]] && set -- "$@" --noprogressbar
command pacman "$@"
}