bashrc & zshrc: enable apt progress bar from apt man page.

·   The option DPkgPM::Progress-Fancy is enabled.
This commit is contained in:
Mikaela Suomalainen 2014-04-21 10:11:33 +03:00
parent d40f136141
commit f71637fcaa
2 changed files with 2 additions and 0 deletions

1
bashrc
View File

@ -222,6 +222,7 @@ fi
if [[ $USER = "root" ]]; then
mkdir -p /etc/apt/apt.conf.d/
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
echo 'DPkgPM::Progress-Fancy "1";' >> /etc/apt/apt.conf.d/99progressbar
echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color
fi

1
zshrc
View File

@ -168,6 +168,7 @@ fi
if [[ $USER = "root" ]]; then
mkdir -p /etc/apt/apt.conf.d/
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
echo 'DPkgPM::Progress-Fancy "1";' >> /etc/apt/apt.conf.d/99progressbar
echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color
fi