From 3808f9c98fab9a544241df6a8818b5ea5a9a6fa9 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 29 Oct 2015 21:01:52 +0200 Subject: [PATCH] rc: fix clear-apt-list-cache --- rc/bashrc | 2 +- rc/zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/bashrc b/rc/bashrc index 11b9561d..9503d158 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 * && cd partial && rm * && cd" +alias clear-apt-list-cache="cd /var/lib/apt/lists && rm -f * && cd partial && rm -f * && 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 7fc4c81a..93ad6db5 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 * && cd partial && rm * && cd" +alias clear-apt-list-cache="cd /var/lib/apt/lists && rm -f * && cd partial && rm -f * && cd" # Accept all cookies with Lynx, makes browsing easier and # every other browser does this too.