Check for installed stuff
This commit is contained in:
@@ -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
7
example_scriplets
Normal 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
|
||||||
Reference in New Issue
Block a user