Check for installed stuff

This commit is contained in:
Hannes
2025-11-16 22:53:23 +01:00
parent b16d05da76
commit 4e5f46c44e
2 changed files with 9 additions and 4 deletions

View File

@@ -39,10 +39,8 @@ function updateall
end end
end end
alias mirror='sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist'
alias mirrora='sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist'
alias mirrord='sudo reflector --latest 50 --number 20 --sort delay --save /etc/pacman.d/mirrorlist'
alias mirrors='sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist'
alias big='expac -H M "%m\t%n" | sort -h | nl' # Sort installed packages according to size in MB (expac must be installed) alias big='expac -H M "%m\t%n" | sort -h | nl' # Sort installed packages according to size in MB (expac must be installed)
alias fixpacman='sudo rm /var/lib/pacman/db.lck' alias fixpacman='sudo rm /var/lib/pacman/db.lck'

7
example_scriplets Normal file
View File

@@ -0,0 +1,7 @@
if test -e /path/to/file
command/alias
end
if test -e /path/to/file1; or test -e /path/to/file2
command/alias
end
$HOME/.cargo/bin/eza