Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我看到 pacman 有这个选项
pacman
--noprogressbar 下载文件时不显示进度条
这适用于pacman -S pacman -R pacman -U. 但是,我希望在适当的时候始终使用此选项。那可能吗?
pacman -S
pacman -R
pacman -U
只需在您的一个 bash 文件中添加一个函数即可。就像是
pacman() { [[ $@ =~ -[RSU] ]] && set -- "$@" --noprogressbar command pacman "$@" }