From 7395c20a478069e874d47e91ff81dfae13b747f5 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sat, 14 Nov 2015 12:48:13 +0200 Subject: [PATCH] rc: fix clear-apt-list-cache again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit in our serious ugly hacks™ --- rc/bashrc | 2 +- rc/zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/bashrc b/rc/bashrc index 9503d158..2857073d 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -558,7 +558,7 @@ alias rcp="rsync -a --progress" alias rmv="rsync -a --progress --remove-source-files" # Clear apt list cache -alias clear-apt-list-cache="cd /var/lib/apt/lists && rm -f * && cd partial && rm -f * && cd" +alias clear-apt-list-cache="cd /var/lib/apt/lists && rm -f *|true && cd partial && rm -f *|true && cd" # Accept all cookies with Lynx, makes browsing easier and # every other browser does this too. diff --git a/rc/zshrc b/rc/zshrc index 93ad6db5..f04cdc97 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -560,7 +560,7 @@ alias rcp="rsync -a --progress" alias rmv="rsync -a --progress --remove-source-files" # Clear apt list cache -alias clear-apt-list-cache="cd /var/lib/apt/lists && rm -f * && cd partial && rm -f * && cd" +alias clear-apt-list-cache="cd /var/lib/apt/lists && rm -f *|true && cd partial && rm -f *|true && cd" # Accept all cookies with Lynx, makes browsing easier and # every other browser does this too.