Skip to content

u/thearchwall

In this archive from Dec 2020 to Oct 2021

0
posts
16
comments
0
media
168
score

Top comments

Great reminder, thank you! I would also suggest to run sudo pacdiff regularly to update your configuration and remove .pacnew files.

Actually, I have setup a script to update my system and run some clean up after that:

#!/bin/env zsh
set -uo pipefail

printf "Running pacman update...\n"
sudo pacman -Syu;

printf "Removing orphans...\\n"
sudo pacman -Rns $(pacman -Qtdq)

sudo pacdiff

I have another script that I run every week to backup my system with rsync. Here I cleanup pacman caches.

printf "Cleaning up pacman cache...\\n"
sudo pacman -Sc
printf "Done\\n\\n"

Cheers

122 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.