mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-16 16:29:23 +01:00
rc: fix clear-apt-list-cache
with the && the operations are aborted in case they don't succeed instead of just continuing until the end.
This commit is contained in:
parent
643119d972
commit
71e05ac396
@ -552,7 +552,7 @@ alias rcp="rsync -a --progress"
|
|||||||
alias rmv="rsync -a --progress --remove-source-files"
|
alias rmv="rsync -a --progress --remove-source-files"
|
||||||
|
|
||||||
# Clear apt list cache
|
# 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
|
# Accept all cookies with Lynx, makes browsing easier and
|
||||||
# every other browser does this too.
|
# every other browser does this too.
|
||||||
|
2
rc/zshrc
2
rc/zshrc
@ -554,7 +554,7 @@ alias rcp="rsync -a --progress"
|
|||||||
alias rmv="rsync -a --progress --remove-source-files"
|
alias rmv="rsync -a --progress --remove-source-files"
|
||||||
|
|
||||||
# Clear apt list cache
|
# 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
|
# Accept all cookies with Lynx, makes browsing easier and
|
||||||
# every other browser does this too.
|
# every other browser does this too.
|
||||||
|
Loading…
Reference in New Issue
Block a user