diff --git a/rc/bashrc b/rc/bashrc index 77492f62..2b2ac205 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -552,7 +552,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 * && cd partial && rm * && 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 33c495d3..f616e713 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -554,7 +554,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 * && cd partial && rm * && cd" # Accept all cookies with Lynx, makes browsing easier and # every other browser does this too.