dotfiles

configuration files
git clone https://pi.duncano.de/git/dotfiles.git
Log | Files | Refs | README

commit 9cf349e0a26f3b0d1618bd040cae30ed5310fbfc
parent 7354d7d595cf01c8de0a3a4ede55b9c31bd2373e
Author: Duncan Overbruck <administrator@duncano.de>
Date:   Sun, 20 Apr 2014 14:43:14 +0200

Create .bashrc_arch
Diffstat:
.bashrc_arch | 23+++++++++++++++++++++++
1 file changed, 23 insertions(+), 0 deletions(-)

diff --git a/.bashrc_arch b/.bashrc_arch @@ -0,0 +1,23 @@ +# Pacman alias examples +alias pacupg='sudo pacman -Syu' # Synchronize with repositories and then upgrade packages that are out of date on the local system. +alias pacin='sudo pacman -S' # Install specific package(s) from the repositories +alias pacins='sudo pacman -U' # Install specific package not from the repositories but from a file +alias pacre='sudo pacman -R' # Remove the specified package(s), retaining its configuration(s) and required dependencies +alias pacrem='sudo pacman -Rns' # Remove the specified package(s), its configuration(s) and unneeded dependencies +alias pacrep='pacman -Si' # Display information about a given package in the repositories +alias pacreps='pacman -Ss' # Search for package(s) in the repositories +alias pacloc='pacman -Qi' # Display information about a given package in the local database +alias paclocs='pacman -Qs' # Search for package(s) in the local database +alias paclo="pacman -Qdt" # List all packages which are orphaned +alias pacc="sudo pacman -Scc" # Clean cache - delete all not currently installed package files +alias paclf="pacman -Ql" # List all files installed by a given package +alias pacexpl="pacman -D --asexp" # Mark one or more installed packages as explicitly installed +alias pacimpl="pacman -D --asdep" # Mark one or more installed packages as non explicitly installed + +# '[r]emove [o]rphans' - recursively remove ALL orphaned packages +alias pacro="pacman -Qtdq > /dev/null && sudo pacman -Rns \$(pacman -Qtdq | sed -e ':a;N;$!ba;s/\n/ /g')" + +# Additional pacman alias examples +alias pacupd='sudo pacman -Sy && sudo abs' # Update and refresh the local package and ABS databases against repositories +alias pacinsd='sudo pacman -S --asdeps' # Install given package(s) as dependencies +alias pacmir='sudo pacman -Syy' # Force refresh of all package lists after updating /etc/pacman.d/mirrorlist